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).
This commit is contained in:
@@ -2109,6 +2109,7 @@ zlib_exec(PyObject *mod)
|
||||
|
||||
static PyModuleDef_Slot zlib_slots[] = {
|
||||
{Py_mod_exec, zlib_exec},
|
||||
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
|
||||
{0, NULL}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user