From 74497e9fddacdf9b80a1349b32c4a555cc9f8825 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sat, 23 Dec 2023 15:26:47 +0200 Subject: [PATCH] Enable imports of _elementtree module in sub-interpreters --- Modules/_elementtree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index f9d5793f9b6497..7d4b28153c2c11 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -4418,9 +4418,7 @@ module_exec(PyObject *m) 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}, };