Skip to content

bpo-39877: take_gil() checks tstate_must_exit() twice - #18890

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:take_gil_exit3
Mar 9, 2020
Merged

bpo-39877: take_gil() checks tstate_must_exit() twice#18890
vstinner merged 1 commit into
python:masterfrom
vstinner:take_gil_exit3

Conversation

@vstinner

@vstinnervstinner commented Mar 9, 2020

Copy link
Copy Markdown
Member

take_gil() now also checks tstate_must_exit() after acquiring
the GIL: exit the thread if Py_Finalize() has been called.

https://bugs.python.org/issue39877

take_gil() now also checks tstate_must_exit() after acquiring
the GIL: exit the thread if Py_Finalize() has been called.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot