]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Improve error handling in `zoneinfo` module (GH-105586) (#105613)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Jun 2023 22:54:00 +0000 (15:54 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 22:54:00 +0000 (22:54 +0000)
commit4ceb5c4924f8a63ddb45aac001565bb36cf94c1e
tree5faf1b79e865ea870d288d9f30e43fc69959107d
parent6cb130800554d2582d0e0f63246aa5f16d91e26b
[3.11] gh-105375: Improve error handling in `zoneinfo` module (GH-105586) (#105613)

Fix bugs where exceptions could end up being overwritten
because of deferred error handling.

(cherry picked from commit 33c92c4f15539806c8aff8574ff30a8b307e3e4d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-09-21-11-28.gh-issue-105375.4Mxn7t.rst [new file with mode: 0644]
Modules/_zoneinfo.c