Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commented Jun 26, 2024

We can't easily force Py_Finalize() to run in the main thread (especially because of Py_Exit()), but we can at least ensure the main interpreter is active.

(We'll be backporting this since the fix for gh-120765 needs it.)

@ericsnowcurrently
Copy link
MemberAuthor

FYI, this causes gh-120765 to be triggered more often, so we'll need to fold it into the fix for that issue: gh-121060.

@ericsnowcurrentlyericsnowcurrently marked this pull request as draft June 26, 2024 20:44
@ericsnowcurrentlyericsnowcurrently deleted the py-finalize-ensure-main-interp branch June 26, 2024 21:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.13bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ericsnowcurrently