Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf34b77

Browse filesBrowse files
authored
gh-103092: Make pyexpat module importable in sub-interpreters (#113555)
1 parent 6ca0e67 commit cf34b77
Copy full SHA for cf34b77

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎Modules/pyexpat.c

Copy file name to clipboardExpand all lines: Modules/pyexpat.c
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,9 +2062,7 @@ pyexpat_free(void *module)
20622062

20632063
static PyModuleDef_Slot pyexpat_slots[] = {
20642064
{Py_mod_exec, pyexpat_exec},
2065-
// XXX gh-103092: fix isolation.
2066-
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
2067-
//{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
2065+
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
20682066
{0, NULL}
20692067
};
20702068

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.