]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Improve errnomodule error handling (#105590) (#105596)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Fri, 9 Jun 2023 20:36:53 +0000 (22:36 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 20:36:53 +0000 (20:36 +0000)
commite0087df65df485478401aec321b22e2f92407cd3
treeec4f14f42628fbb8d263ba38160745e8dddcabaf
parent04b76ece7f92bd7e46ca2f3b46e7a42cfd75fa05
[3.12] gh-105375: Improve errnomodule error handling (#105590) (#105596)

(cherry picked from commit eede1d2f48b4fe7f7918952d9ebeb744b58668c1)

Bail immediately if an exception is set, to prevent exceptions from
being overwritten.
Misc/NEWS.d/next/Library/2023-06-09-21-04-39.gh-issue-105375.bTcqS9.rst [new file with mode: 0644]
Modules/errnomodule.c