]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Improve _decimal error handling (GH-105605) (#105647)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:55:18 +0000 (03:55 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:55:18 +0000 (10:55 +0000)
commitb4b5565e4779d81c943bffe22ffe0972fa398702
treedd127b7dc852152ace97110a3d39faa76aa832de
parent36ecbc3570120c55d89eb8695b16525d6e77b454
[3.12] gh-105375: Improve _decimal error handling (GH-105605) (#105647)

Fix a bug where an exception could end up being overwritten.
(cherry picked from commit c932f7284977ebf813313157c52d716ba225a7ac)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-09-22-52-45.gh-issue-105375.6igkhn.rst [new file with mode: 0644]
Modules/_decimal/_decimal.c