summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2023-12-29 13:13:46 (GMT)
committerGitHub <noreply@github.com>2023-12-29 13:13:46 (GMT)
commitcf34b7704be4c97d0479c04df0d9cd8fe210e5f4 (patch)
treeca0f031255198ddad89d093f7ac0fbbbdddc6729 /Modules/pyexpat.c
parent6ca0e6754eedf4c9cf48794fa6c27281668b8d7c (diff)
downloadcpython-cf34b7704be4c97d0479c04df0d9cd8fe210e5f4.zip
cpython-cf34b7704be4c97d0479c04df0d9cd8fe210e5f4.tar.gz
cpython-cf34b7704be4c97d0479c04df0d9cd8fe210e5f4.tar.bz2
gh-103092: Make ``pyexpat`` module importable in sub-interpreters (#113555)
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 9d95309..ec44892 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}
};