This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Py_NewInterpreter causes bogus fatal error along the failure path
Type: crash Stage: patch review
Components: C API Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jason.haslam, python-dev
Priority: normal Keywords: patch

Created on 2021-12-03 05:35 by jason.haslam, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 29900 closed python-dev, 2021-12-03 05:44
Messages (1)
msg407566 - (view) Author: Jason Haslam (jason.haslam) * Date: 2021-12-03 05:35
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.
History
Date User Action Args
2022-04-11 14:59:53adminsetgithub: 90128
2021-12-03 05:44:54python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request28124
stage: patch review
2021-12-03 05:35:05jason.haslamcreate