gh-101476: Use _PyType_GetModuleState where applicable#102188
gh-101476: Use _PyType_GetModuleState where applicable#102188erlend-aasland merged 2 commits intopython:mainfrom
Conversation
|
I consider this a trivial and non-controversial PR; I intend to merge it as soon as the CI is green. If this turns out to be bad judgement from my side, I'm happy to revert it. |
I remember that there were some kinds of discussions to use public API as possible. |
|
Might be one piece of discussion I remember: #90699 (comment) |
|
At least with _xxsubinterpreters, I purposefully did not use any internal API. Ideally, non-builtin extensions would avoid internal API, generally. |
|
@ericsnowcurrently, @corona10: As the PR title says, I've only applied this where applicable. This implies extension modules that define |
|
I've reverted the change in _testmultiphase. |
|
BTW, thanks for working on this, @erlend-aasland! |
|
Thanks for comments and reviews, everyone! |
Uh oh!
There was an error while loading. Please reload this page.