]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 8 Oct 2025 12:28:41 +0000 (14:28 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Oct 2025 12:28:41 +0000 (14:28 +0200)
commit333cab0da7e148c713a862330fabc269a145536a
tree660dd67a2cfacbb3410c76996919ba2747d9358b
parent0188e0fd38bea72c39f2e5a0e04b20181e21c1ce
[3.14] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845) (GH-138084)

Both modules should use the Python implementation in that case.
(cherry picked from commit 6620ef0ff62dea2632bedf9afa88aa4780a2c9d9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_zoneinfo/test_zoneinfo.py
Lib/zoneinfo/__init__.py
Misc/NEWS.d/next/Library/2025-08-16-09-02-11.gh-issue-137754.mCev1Y.rst [new file with mode: 0644]