Uh oh!
There was an error while loading. Please reload this page.
gh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED - #104206
Conversation
9cd8840 to
78b6ae7CompareUh oh!
There was an error while loading. Please reload this page.
78b6ae7 to
e2ddc27Compare
erlend-aasland
left a comment
There was a problem hiding this comment.
LGTM
BTW, the branch in lines 295-300 seems lack coverage (disclaimer: I only ran test_import)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ericsnowcurrently
commented
May 6, 2023
Thanks for pointing out about the missing test coverage. I've added it. I also did likewise for the similar case where |
erlend-aasland
commented
May 6, 2023
Nice, thanks! I can confirm that those branches are now covered. |
…4205) Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules. We will start checking for it in pythongh-104206 (once PyInterpreterState.ceval.own_gil is added in pythongh-104204).
…ythongh-104206) Py_MOD_PER_INTERPRETER_GIL_SUPPORTED is a new supported value for Py_mod_multiple_interpreters, added in pythongh-104205.
Py_MOD_PER_INTERPRETER_GIL_SUPPORTEDis a new supported value forPy_mod_multiple_interpreters, added in gh-104205.(This is blocked until
PyInterpreterState.ceval.own_gilis added in gh-104204.)