]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Improve errnomodule error handling (#105590) (#105595)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Fri, 9 Jun 2023 20:35:30 +0000 (22:35 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 20:35:30 +0000 (20:35 +0000)
commit76682ba7aff2d18eec34b8433c68da028260bc51
treefc212051b913e48c8bfad4299ee16d1d11aa2211
parent4d4251d6eca0acd0761e0b75633a297cf20a30c0
[3.11] gh-105375: Improve errnomodule error handling (#105590) (#105595)

(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