Skip to content

bpo-43770: Cleanup PyModuleDef_Init()#26879

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:moduledef_init
Jun 23, 2021
Merged

bpo-43770: Cleanup PyModuleDef_Init()#26879
vstinner merged 1 commit intopython:mainfrom
vstinner:moduledef_init

Conversation

@vstinner
Copy link
Copy Markdown
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.
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.

3 participants