commit | b8fa135908d294b350cdad04e2f512327a538dee | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Dec 15 14:34:19 2020 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 15 14:34:19 2020 +0100 |
tree | 25b6b1516e3f6d29c9cf3cafb71c516cbc93a3c3 | |
parent | 8473cf89bdbf2cb292b39c972db540504669b9cd [diff] |
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>