Issue 32310: Remove _Py_PyAtExit from Python.h (original) (raw)

Created on 2017-12-13 20:25 by nascheme, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4849 closed nascheme,2017-12-13 20:30
Messages (2)
msg308242 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2017-12-13 20:25
_Py_PyAtExit only supports on callback function. Its sole use it to be used by atexit. IMHO, it should be removed from Python.h to prevent misuse.
msg324694 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-09-06 14:29
It's unclear if this change is going to break anything. In case of doubt, I chose to reject the change. Note: I'm working on a project to rework and cleanup the C API, see: https://pythoncapi.readthedocs.io/ https://pythoncapi.readthedocs.io/split_include.html
History
Date User Action Args
2022-04-11 14:58:55 admin set github: 76491
2018-09-06 14:29:10 vstinner set status: open -> closednosy: + vstinnermessages: + resolution: rejectedstage: patch review -> resolved
2017-12-13 20:30:27 nascheme set keywords: + patchpull_requests: + <pull%5Frequest4738>
2017-12-13 20:25:35 nascheme create