Skip to content

Refactoring of tp_clear #1460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2021
Merged

Refactoring of tp_clear #1460

merged 2 commits into from
May 23, 2021

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented May 23, 2021

What does this implement/fix? Explain your changes.

This replaces inheritance of tp_clear function using slot with regular virtual function Clear on C# side that makes it easier to reason about.

@lostmsu lostmsu marked this pull request as draft May 23, 2021 07:02
@lostmsu lostmsu marked this pull request as ready for review May 23, 2021 07:41
@lostmsu lostmsu merged commit 993707e into pythonnet:master May 23, 2021
@lostmsu lostmsu deleted the PR/Clear branch May 23, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant