Py_AtExit change in 3.12

It looks like Py_AtExit now requires Python be initialized in 3.12 (due to locking added in this commit). Can we retroactively add a note that this function now requires an initialized Python?

Cc: @eric.snow

That sounds reasonable. Please open an issue.

Thanks. Reported: Changelog: document `Py_AtExit` requirement change that the interpreter must be initialized · Issue #118016 · python/cpython · GitHub

1 Like