bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (#2034) · pythoncapi/cpython@3fd54d4 · GitHub
Skip to content

Commit 3fd54d4

Browse files
bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (python#2034)
The traceback no longer displayed for SystemExit raised in a callback registered by atexit.
1 parent 1dbce04 commit 3fd54d4

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

Lib/test/test_atexit.py

Lines changed: 10 additions & 0 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ Extension Modules
359359
Library
360360
-------
361361

362+
- bpo-28994: The traceback no longer displayed for SystemExit raised in
363+
a callback registered by atexit.
364+
362365
- bpo-30508: Don't log exceptions if Task/Future "cancel()" method was
363366
called.
364367

Modules/atexitmodule.c

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)