Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commented Jun 21, 2024

Py_RunMain() is responsible for finalizing the runtime. Extension modules should never call Py_Finalize(). Enforcing this helps keep finalization conceptually simpler and helps get closer to making the Py_Finalize() implementation simpler in practice.

Note that the relevant docs change is part of gh-120839.

@ericsnowcurrently
Copy link
MemberAuthor

@ncoghlan, any objections to this change?

@ericsnowcurrently
Copy link
MemberAuthor

CC @vstinner

@ericsnowcurrentlyericsnowcurrently added the needs backport to 3.13 bugs and security fixes label Jun 25, 2024
@ericsnowcurrentlyericsnowcurrently removed the needs backport to 3.13 bugs and security fixes label Jun 25, 2024
Sign up for freeto 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.

1 participant

@ericsnowcurrently