]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Improve error handling in `zoneinfo` module (GH-105586) (#105612)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Jun 2023 23:22:10 +0000 (16:22 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 23:22:10 +0000 (23:22 +0000)
commit8c4cf96a06e2483a11a4cb34c550df5bd22f990b
tree8d9cca204b25e1f0fa4c1ab610ac34d989dc3561
parent4fbbf699c0d72f6db62484c88a05c826c3703eb5
[3.12] gh-105375: Improve error handling in `zoneinfo` module (GH-105586) (#105612)

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