diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-05 21:11:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 21:11:27 (GMT) |
commit | a9c6e0618f26270e2591b3d99ffeef55eea02a33 (patch) | |
tree | 81bdd175c8c3b61aa3aab02cac66a122f1372871 /Modules/xxlimited.c | |
parent | 1c420e138fd828895b6bd3c44ef99156e8796095 (diff) | |
download | cpython-a9c6e0618f26270e2591b3d99ffeef55eea02a33.zip cpython-a9c6e0618f26270e2591b3d99ffeef55eea02a33.tar.gz cpython-a9c6e0618f26270e2591b3d99ffeef55eea02a33.tar.bz2 |
gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)
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 gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204).
Diffstat (limited to 'Modules/xxlimited.c')
-rw-r--r-- | Modules/xxlimited.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c index 5f5297b..3935c00 100644 --- a/Modules/xxlimited.c +++ b/Modules/xxlimited.c @@ -390,6 +390,7 @@ xx_modexec(PyObject *m) static PyModuleDef_Slot xx_slots[] = { {Py_mod_exec, xx_modexec}, + {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED}, {0, NULL} }; |