diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-10-14 20:24:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-14 20:24:33 (GMT) |
commit | ab08ff7882b6181fb785eed7410dbf8030aded70 (patch) | |
tree | a8012e6a72e4bcd41a07e591d41de37881cce93f /Misc/NEWS.d | |
parent | 12deda763359d46d4eccbb8991afed71fa31a68b (diff) | |
download | cpython-ab08ff7882b6181fb785eed7410dbf8030aded70.zip cpython-ab08ff7882b6181fb785eed7410dbf8030aded70.tar.gz cpython-ab08ff7882b6181fb785eed7410dbf8030aded70.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-05-06-15-49-57.gh-issue-86826.rf006W.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-06-15-49-57.gh-issue-86826.rf006W.rst b/Misc/NEWS.d/next/Library/2022-05-06-15-49-57.gh-issue-86826.rf006W.rst new file mode 100644 index 0000000..02cd75e --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-05-06-15-49-57.gh-issue-86826.rf006W.rst @@ -0,0 +1,4 @@ +:mod:`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. |