Issue #18776: atexit callbacks now display their full traceback when … · pythoncapi/cpython@24201d4 · GitHub
Skip to content

Commit 24201d4

Browse files
committed
Issue python#18776: atexit callbacks now display their full traceback when they raise an exception.
1 parent 4e98567 commit 24201d4

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lib/test/test_atexit.py

Lines changed: 19 additions & 0 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ Core and Builtins
7676
Library
7777
-------
7878

79+
- Issue #18776: atexit callbacks now display their full traceback when they
80+
raise an exception.
81+
7982
- Issue #17827: Add the missing documentation for ``codecs.encode`` and
8083
``codecs.decode``.
8184

Python/pythonrun.c

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)