Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-103092: Make pyexpat module importable in sub-interpreters
  • Loading branch information
Eclips4 committed Dec 28, 2023
commit 666a7d3bd7980d3c2f2dc619589e6f474c474ca6
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