mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
gh-103092: Make `pyexpat
` module importable in sub-interpreters (#113555)
This commit is contained in:
parent
6ca0e6754e
commit
cf34b7704b
1 changed files with 1 additions and 3 deletions
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue