mirror of https://github.com/python/cpython
gh-103092: Make `_elementtree` module importable in sub-interpreters (#113434)
Enable imports of _elementtree module in sub-interpreters
This commit is contained in:
parent
cc13eabc7c
commit
f1676867b5
|
@ -4430,9 +4430,7 @@ error:
|
|||
|
||||
static struct PyModuleDef_Slot elementtree_slots[] = {
|
||||
{Py_mod_exec, module_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