mirror of https://github.com/python/cpython
Browse Source
At Python exit, if a callback registered with atexit.register() fails, its exception is now logged. Previously, only some exceptions were logged, and the last exception was always silently ignored. Add _PyAtExit_Call() function and remove PyInterpreterState.atexit_func member. call_py_exitfuncs() now calls directly _PyAtExit_Call(). The atexit module must now always be built as a built-in module.pull/23763/head
committed by
GitHub
8 changed files with 53 additions and 28 deletions
Loading…
Reference in new issue