https://github.com/python/cpython/commit/cf34b7704be4c97d0479c04df0d9cd8fe210e5f4
commit: cf34b7704be4c97d0479c04df0d9cd8fe210e5f4
branch: main
author: Kirill Podoprigora <[email protected]>
committer: kumaraditya303 <[email protected]>
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}
 };
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to