Skip to content

[3.11] gh-86826: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882)#110889

Merged
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:backport-72b0f0e-3.11
Oct 15, 2023
Merged

[3.11] gh-86826: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882)#110889
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:backport-72b0f0e-3.11

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 15, 2023

Copy link
Copy Markdown
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
@picnixz picnixz changed the title [3.11] [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) [3.11] [3.12] gh-86826: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) Mar 13, 2025
@picnixz picnixz changed the title [3.11] [3.12] gh-86826: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) [3.11] gh-86826: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) Mar 13, 2025
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