diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2023-12-28 09:12:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 09:12:21 (GMT) |
commit | f1676867b52f8b6c7f70bf32e2a53f7edd6700a7 (patch) | |
tree | 2b9a9c1bae25e15bf3fabc379ff28045924bf544 /Modules/_elementtree.c | |
parent | cc13eabc7ce08accf49656e258ba500f74a1dae8 (diff) | |
download | cpython-f1676867b52f8b6c7f70bf32e2a53f7edd6700a7.zip cpython-f1676867b52f8b6c7f70bf32e2a53f7edd6700a7.tar.gz cpython-f1676867b52f8b6c7f70bf32e2a53f7edd6700a7.tar.bz2 |
gh-103092: Make `_elementtree` module importable in sub-interpreters (#113434)
Enable imports of _elementtree module in sub-interpreters
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r-- | Modules/_elementtree.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index 5bf6787..b574c96 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -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}, }; |