homepage

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 vstinner
Recipients corona10, shihai1991, vstinner
Date 2020年12月15日.16:17:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608049031.65.0.712972541181.issue42639@roundup.psfhosted.org>
In-reply-to
Content
Ok, the initial issue is now fixed. It's possible to have more than one atexit module instance, registered callbacks in one or the other module are all called as expected. I also wrote an unit test for that.
I also took the opportunity of this issue to modernize the C code base, fix a bug in test_atexit (no longer clear atexit callbacks, run tests in subprocesses), and enhance atexit._run_exitfuncs(): log all callback exceptions using sys.unraisablehook so it's possible to catch them using the hook.
History
Date User Action Args
2020年12月15日 16:17:11vstinnersetrecipients: + vstinner, corona10, shihai1991
2020年12月15日 16:17:11vstinnersetmessageid: <1608049031.65.0.712972541181.issue42639@roundup.psfhosted.org>
2020年12月15日 16:17:11vstinnerlinkissue42639 messages
2020年12月15日 16:17:11vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /