]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-132308: prevent `TracebackException` swallowing attributes of a falsey...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 30 Apr 2025 07:19:53 +0000 (09:19 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Apr 2025 07:19:53 +0000 (09:19 +0200)
commitdfaa384991022bb1b577a8e030c5f80ca6d912fc
tree2c4069adbca1c121fdd8f3dd7111e6827230c876
parent7998f998b215c994035ce6eb320fae5d447e1dd8
[3.13] gh-132308: prevent `TracebackException` swallowing attributes of a falsey `Exception` or `ExceptionGroup` (GH-132363) (#132725)

gh-132308: prevent `TracebackException` swallowing attributes of a falsey `Exception` or `ExceptionGroup` (GH-132363)
(cherry picked from commit 69cda31261dd98b0462dc5ca63bdbcd0954dfa77)

Co-authored-by: Duprat <yduprat@gmail.com>
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS.d/next/Library/2025-04-10-13-06-42.gh-issue-132308.1js5SI.rst [new file with mode: 0644]