Skip to content

Refactoring of tp_dealloc #1459

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_dealloc #1459

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_dealloc function using slot with regular virtual function on C# side that makes it easier to reason about.

@lostmsu lostmsu marked this pull request as ready for review May 23, 2021 03:42
@lostmsu lostmsu merged commit 88b19cf into pythonnet:master May 23, 2021
@lostmsu lostmsu deleted the PR/Clear branch May 23, 2021 03:42
@lostmsu lostmsu changed the title Refactoring of tp_clear and tp_dealloc Refactoring of tp_dealloc May 23, 2021
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