Content-Length: 265011 | pFad | http://github.com/python/cpython/commit/f1676867b52f8b6c7f70bf32e2a53f7edd6700a7

37 gh-103092: Make `_elementtree` module importable in sub-interpreters … · python/cpython@f167686 · GitHub
Skip to content

Commit f167686

Browse files
authored
gh-103092: Make _elementtree module importable in sub-interpreters (#113434)
Enable imports of _elementtree module in sub-interpreters
1 parent cc13eab commit f167686

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Modules/_elementtree.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4430,9 +4430,7 @@ module_exec(PyObject *m)
44304430

44314431
static struct PyModuleDef_Slot elementtree_slots[] = {
44324432
{Py_mod_exec, module_exec},
4433-
// XXX gh-103092: fix isolation.
4434-
{Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
4435-
//{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
4433+
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
44364434
{0, NULL},
44374435
};
44384436

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/commit/f1676867b52f8b6c7f70bf32e2a53f7edd6700a7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy