]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 15 Oct 2023 08:32:26 +0000 (11:32 +0300)
committerGitHub <noreply@github.com>
Sun, 15 Oct 2023 08:32:26 +0000 (08:32 +0000)
commit5c55f50a71008af5fe9ebf998722297a0591ed86
tree4c4ff7d7ab57f999a192522cc0a9e6c493991fbf
parent44558a9ba8f5097f4c0ee0c3b28423c4850fb4f1
[3.11] [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) (GH-110889)

zipinfo now supports the full range of values in the TZ string
determined by RFC 8536 and detects all invalid formats.
Both Python and C implementations now raise exceptions of the same
type on invalid data.
(cherry picked from commit ab08ff7882b6181fb785eed7410dbf8030aded70)
(cherry picked from commit 72b0f0eaf52ac46d5f6e165f737d6f891cf8d172)
Lib/test/test_zoneinfo/test_zoneinfo.py
Lib/zoneinfo/_zoneinfo.py
Misc/NEWS.d/next/Library/2022-05-06-15-49-57.gh-issue-86826.rf006W.rst [new file with mode: 0644]
Modules/_zoneinfo.c