Skip to content

Commit 4b8c004

Browse files
Fix the defaults in _xxsubinterpreters.
1 parent 970fbfe commit 4b8c004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_xxsubinterpretersmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ interp_create(PyObject *self, PyObject *args, PyObject *kwds)
20062006
const _PyInterpreterConfig config = {
20072007
.allow_fork = !isolated,
20082008
.allow_exec = !isolated,
2009-
.allow_threads = !isolated,
2009+
.allow_threads = 1,
20102010
.allow_daemon_threads = !isolated,
20112011
};
20122012
// XXX Possible GILState issues?

0 commit comments

Comments
 (0)