Bug report
Bug description:
Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads.
PyInterpreterConfigconfig={.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, }; PyStatuspstatus=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