X Tutup
Skip to content

bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics#4826

Merged
vstinner merged 1 commit intopython:masterfrom
pitrou:revert_incorrect_io_atexit
Dec 13, 2017
Merged

bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics#4826
vstinner merged 1 commit intopython:masterfrom
pitrou:revert_incorrect_io_atexit

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Dec 12, 2017

The fix committed in #3372 uses _Py_PyAtExit. Unfortunately this function does not add a new callback, it merely replaces the current one. In other words, _Py_PyAtExit is only meant to be called by the atexit module and nothing else.

https://bugs.python.org/issue17852

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup