summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_atexit.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46025: Fix a crash in the atexit module for auto-unregistering functions ↵Pablo Galindo Salgado2021-12-091-0/+15
| | | | (GH-30002)
* bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779)Victor Stinner2020-12-151-0/+121
atexit._run_exitfuncs() now logs callback exceptions using sys.unraisablehook, rather than logging them directly into sys.stderr and raising the last exception. Run GeneralTest of test_atexit in a subprocess since it calls atexit._clear() which clears all atexit callbacks. _PyAtExit_Fini() sets state->callbacks to NULL.