bpo-42639: Move atexit state to PyInterpreterState (GH-23763)
* Add _PyAtExit_Call() function and remove pyexitfunc and pyexitmodule members of PyInterpreterState. The function logs atexit callback errors using _PyErr_WriteUnraisableMsg(). * Add _PyAtExit_Init() and _PyAtExit_Fini() functions. * Remove traverse, clear and free functions of the atexit module. Co-authored-by: Dong-hee Na <donghee.na@python.org>
V
Victor Stinner committed
b8fa135908d294b350cdad04e2f512327a538dee
Parent: 8473cf8
Committed by GitHub <noreply@github.com>
on 12/15/2020, 1:34:19 PM