Skip to content
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

bpo-43770: Cleanup PyModuleDef_Init() #26879

Merged
merged 1 commit into from Jun 23, 2021
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2021

PyModuleDef_Init() no longer tries to make PyModule_Type type: it's
already done by _PyTypes_Init() at Python startup. Replace
PyType_Ready() call with an assertion.

https://bugs.python.org/issue43770

PyModuleDef_Init() no longer tries to make PyModule_Type type: it's
already done by _PyTypes_Init() at Python startup. Replace
PyType_Ready() call with an assertion.
@vstinner vstinner merged commit 2a396d6 into python:main Jun 23, 2021
12 checks passed
@vstinner vstinner deleted the moduledef_init branch Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants