Closed
Closed
Copy link
Description
Bug report
Bug description:
Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads.
PyInterpreterConfig config = {
.use_main_obmalloc = 0,
.allow_fork = 0,
.allow_exec = 0,
.allow_threads = 1,
.allow_daemon_threads = 0,
.check_multi_interp_extensions = 1,
.gil = PyInterpreterConfig_OWN_GIL,
};
PyStatus pstatus = Py_NewInterpreterFromConfig(&Sub_GIL_ThreadState, &config);
if (PyStatus_Exception(pstatus)) {
return FALSE;
}
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
An unexpected behavior, bug, or errorAn unexpected behavior, bug, or error