]> granicus.if.org Git - python/commit
[2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2123)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 12 Jun 2017 06:10:53 +0000 (09:10 +0300)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2017 06:10:53 +0000 (09:10 +0300)
commit0cc43df05e36655220468953e838169966b94ebd
tree9a8aaaa7663d31e6df530900f02f28bed6959080
parent107949cb87d0f064bd9bcd39dc2a5e7266bfee30
[2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2123)

The traceback no longer displayed for SystemExit raised in a callback registered by atexit..
(cherry picked from commit 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4)
Lib/test/test_atexit.py
Misc/NEWS
Modules/atexitmodule.c [new file with mode: 0644]