Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 9, 2020

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.
@vstinner
Copy link
Member Author

vstinner commented Mar 9, 2020

GH Actions CI is broken. I cancelled the workflow. It didn't work. I closed/reopened the PR: GH Actions jobs are still displayed as failed and don't restart.

I created a new PR instead: PR #18890.

@vstinner
Copy link
Member Author

vstinner commented Mar 9, 2020

I created a new PR instead: PR #18890.

I merged PR #18890.

@vstinner vstinner closed this Mar 9, 2020
@vstinner vstinner deleted the take_gil_exit2 branch March 9, 2020 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants