]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Improve _decimal error handling (GH-105605) (#105648)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:58:56 +0000 (03:58 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:58:56 +0000 (10:58 +0000)
commitcb26fafdcc2814c7ac5c080d330970c7971fff3e
tree241383b740557eceaeb0f9bdeb13da484c4443e8
parentcfa0f7c59baed2a001463ffa1fcb634677a8000c
[3.11] gh-105375: Improve _decimal error handling (GH-105605) (#105648)

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