gh-103092: Make ``pyexpat`` module importable in sub-interpreters (#113555)

https://github.com/python/cpython/commit/cf34b7704be4c97d0479c04df0d9cd8fe21... commit: cf34b7704be4c97d0479c04df0d9cd8fe210e5f4 branch: main author: Kirill Podoprigora <kirill.bast9@mail.ru> committer: kumaraditya303 <kumaraditya@python.org> date: 2023-12-29T18:43:46+05:30 summary: gh-103092: Make ``pyexpat`` module importable in sub-interpreters (#113555) files: M Modules/pyexpat.c diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 9d95309dbb7aa6..ec44892d101e44 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -2062,9 +2062,7 @@ pyexpat_free(void *module) static PyModuleDef_Slot pyexpat_slots[] = { {Py_mod_exec, pyexpat_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} };
participants (1)
-
kumaraditya303