Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) #110889

Merged

Conversation

serhiy-storchaka
Copy link
Member

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 ab08ff7)
(cherry picked from commit 72b0f0e)

…ythonGH-23825) (pythonGH-110882)

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 ab08ff7).
(cherry picked from commit 72b0f0e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app bedevere-app bot added awaiting core review type-bug An unexpected behavior, bug, or error labels Oct 15, 2023
@bedevere-app bedevere-app bot added the type-feature A feature request or enhancement label Oct 15, 2023
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) October 15, 2023 08:08
@serhiy-storchaka serhiy-storchaka merged commit 5c55f50 into python:3.11 Oct 15, 2023
@serhiy-storchaka serhiy-storchaka deleted the backport-72b0f0e-3.11 branch October 15, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant