mirror of https://github.com/python/cpython
gh-103092: Make ``pyexpat`` module importable in sub-interpreters (#113555)
This commit is contained in:
parent
6ca0e6754e
commit
cf34b7704b
|
@ -2062,9 +2062,7 @@ pyexpat_free(void *module)
|
|||
|
||||
static PyModuleDef_Slot pyexpat_slots[] = {
|
||||
{Py_mod_exec, pyexpat_exec},
|
||||
// XXX gh-103092: fix isolation.
|
||||
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
|
||||
//{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
|
||||
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
|
||||
{0, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue