Skip to content

Commit

Permalink
pythongh-103092: Make pyexpat module importable in sub-interprete…
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclips4 authored and Glyphack committed Jan 27, 2024
1 parent fc175a4 commit 74ea37a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Modules/pyexpat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}
};

Expand Down

0 comments on commit 74ea37a

Please sign in to comment.