Skip to content

When reflecting nested types, ensure their corresponding PyType is allocated #1579

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 1 commit into from
Oct 1, 2021

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Oct 1, 2021

What does this implement/fix? Explain your changes.

Without this fix attempting to use a nested .NET class that derives from its parent would cause a crash due to false mutual dependency.

Does this close any currently open issues?

#1414

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • Updated the CHANGELOG

…located.

fixes pythonnet#1414

Without this fix attempting to use a nested .NET class that derives from its parent would cause a crash due to false mutual dependency.
@lostmsu lostmsu merged commit f857d59 into pythonnet:master Oct 1, 2021
@lostmsu lostmsu deleted the recursive-type branch October 1, 2021 20:06
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.

2 participants