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.

Author nascheme
Recipients arigo, martin.panter, nascheme, neologix, nikratio, pitrou, serhiy.storchaka, tim.peters, vstinner, xgdomingo
Date 2017-12-13.19:30:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I created a new PR which uses the atexit module instead of using _Py_PyAtExit.  I think registering in io.py is okay.

I see that atexit is now implemented in C.  Rather than registering in io.py, we could create a C API to register callbacks (i.e. atexit_register).  That would perhaps be a bit cleaner.
History
Date User Action Args
2017-12-13 19:30:25naschemesetrecipients: + nascheme, tim.peters, arigo, pitrou, vstinner, nikratio, neologix, martin.panter, serhiy.storchaka, xgdomingo
2017-12-13 19:30:25naschemesetmessageid: <[email protected]>
2017-12-13 19:30:25naschemelinkissue17852 messages
2017-12-13 19:30:25naschemecreate