This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove _Py_PyAtExit from Python.h
Type: enhancement Stage: resolved
Components: Interpreter Core Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: nascheme, vstinner
Priority: low Keywords: patch

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:55adminsetgithub: 76491
2018-09-06 14:29:10vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg324694

resolution: rejected
stage: patch review -> resolved
2017-12-13 20:30:27naschemesetkeywords: + patch
pull_requests: + pull_request4738
2017-12-13 20:25:35naschemecreate