Skip to content

gh-114713: Revert gh-114731 - #133330

Merged
Eclips4 merged 1 commit into
python:mainfrom
Eclips4:revert-zoneinfo
May 3, 2025
Merged

gh-114713: Revert gh-114731#133330
Eclips4 merged 1 commit into
python:mainfrom
Eclips4:revert-zoneinfo

Conversation

@Eclips4

@Eclips4 Eclips4 commented May 3, 2025

Copy link
Copy Markdown
Member

Unfortunately, #114731 introduced a regression and zoneinfo.ZoneInfo(None) now raises a ValueError instead of TypeError, which may break some tests in 3rd party libraries (such as https://github.com/reagento/adaptix/).

Therefore, I'm reverting it before 3.14b1. The original issue isn't critical, and we can address it later.

@Eclips4 Eclips4 changed the title gh-114731: Revert gh-114713 gh-114713: Revert gh-114731 May 3, 2025
@Eclips4 Eclips4 added the needs backport to 3.13 bugs and security fixes label May 3, 2025
@Eclips4
Eclips4 enabled auto-merge (squash) May 3, 2025 07:26
@Eclips4
Eclips4 merged commit fe44fc4 into python:main May 3, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @Eclips4 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 3, 2025
Revert "pythongh-114713: Handle case of an empty string passed to `zoneinfo.ZoneInfo` (pythonGH-114731)"

This reverts commit 884df11.
(cherry picked from commit fe44fc4)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
@bedevere-app

bedevere-app Bot commented May 3, 2025

Copy link
Copy Markdown

GH-133331 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 3, 2025
Eclips4 added a commit that referenced this pull request May 3, 2025
gh-114713: Revert gh-114731 (GH-133330)

Revert "gh-114713: Handle case of an empty string passed to `zoneinfo.ZoneInfo` (GH-114731)"

This reverts commit 884df11.
(cherry picked from commit fe44fc4)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
@Eclips4
Eclips4 deleted the revert-zoneinfo branch May 3, 2025 11:07
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
Revert "pythongh-114713: Handle case of an empty string passed to `zoneinfo.ZoneInfo` (python#114731)"

This reverts commit 884df11.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant