Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 18bb3df

Browse files
Eclips4kulikjak
authored andcommittedJan 22, 2024
pythongh-103092: Make _elementtree module importable in sub-interpreters (python#113434)
Enable imports of _elementtree module in sub-interpreters
1 parent f2dc739 commit 18bb3df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

Diff for: ‎Modules/_elementtree.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -4430,9 +4430,7 @@ module_exec(PyObject *m)
44304430

44314431
static struct PyModuleDef_Slot elementtree_slots[] = {
44324432
{Py_mod_exec, module_exec},
4433-
// XXX gh-103092: fix isolation.
4434-
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
4435-
//{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
4433+
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
44364434
{0, NULL},
44374435
};
44384436

0 commit comments

Comments
 (0)
Please sign in to comment.