]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 14 Oct 2023 20:24:33 +0000 (23:24 +0300)
committerGitHub <noreply@github.com>
Sat, 14 Oct 2023 20:24:33 +0000 (23:24 +0300)
commitab08ff7882b6181fb785eed7410dbf8030aded70
treea8012e6a72e4bcd41a07e591d41de37881cce93f
parent12deda763359d46d4eccbb8991afed71fa31a68b
bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825)

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.
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