8000 gh-103092: Make ``pyexpat`` module importable in sub-interpreters (#1… · kulikjak/cpython@d06516d · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit d06516d

Browse files
Eclips4kulikjak
authored andcommitted
pythongh-103092: Make pyexpat module importable in sub-interpreters (python#113555)
1 parent a989756 commit d06516d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Modules/pyexpat.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,9 +2062,7 @@ pyexpat_free(void *module)
20622062

20632063
static PyModuleDef_Slot pyexpat_slots[] = {
20642064
{Py_mod_exec, pyexpat_exec},
2065-
// XXX gh-103092: fix isolation.
2066-
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
2067-
//{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
2065+
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
20682066
{0, NULL}
20692067
};
20702068

0 commit comments

Comments
 (0)
0