Skip to content

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Jul 7, 2021

What does this implement/fix? Explain your changes.

It should have not been allowed in the first place, but we accidentally cleared Ready from tp_flags. Instead, we will extend tp_flags and call PyType_Modified at the end of CLR MetaType.tp_new

Does this close any currently open issues?

No

Any other comments?

This change is required for the upcoming feature, that allows setting custom base type for reflected .NET classes (as seen from Python).

….tp_new`. It should have not been allowed in the first place, but we accidentally cleared `Ready` from `tp_flags`. Instead, we will extend `tp_flags` and call `PyType_Modified` at the end of CLR MetaType.tp_new
@filmor filmor merged commit 1391639 into pythonnet:master Jul 7, 2021
@lostmsu lostmsu deleted the bugs/PythonInheritsDotNet_DoubleTypeReady branch July 7, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants