Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED#104206
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED#104206
Uh oh!
There was an error while loading.Please reload this page.
Conversation
9cd8840 to78b6ae7CompareUh oh!
There was an error while loading.Please reload this page.
78b6ae7 toe2ddc27CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
BTW, the branch in lines 295-300 seems lack coverage (disclaimer: I only rantest_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.
Thanks for pointing out about the missing test coverage. I've added it. I also did likewise for the similar case where |
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 inpythongh-104206 (once PyInterpreterState.ceval.own_gil is added inpythongh-104204).
…ythongh-104206)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED is a new supported value for Py_mod_multiple_interpreters, added inpythongh-104205.
Uh oh!
There was an error while loading.Please reload this page.
Py_MOD_PER_INTERPRETER_GIL_SUPPORTEDis a new supported value forPy_mod_multiple_interpreters, added ingh-104205.(This is blocked until
PyInterpreterState.ceval.own_gilis added ingh-104204.)