New submission from Jason Haslam <jason.has...@gmail.com>:
The failure cleanup of `Py_NewInterpreter` causes a bogus fatal error on the call to `PyThreadState_Delete`. The error is about deleting the current thread state. The saved thread state should be swapped back in *before* deleting the new thread state. ---------- components: C API messages: 407566 nosy: jason.haslam priority: normal severity: normal status: open title: Py_NewInterpreter causes bogus fatal error along the failure path type: crash versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45970> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com