]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 23 Aug 2025 09:33:58 +0000 (11:33 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Aug 2025 09:33:58 +0000 (09:33 +0000)
commitb9179c354b9a77eb832fc4c861495b34915dfe3d
tree15fff7f5c11e4ffa175e6f9c6f25cc5980b53f32
parent57b5baf3f9ae52178dd7b1cbce8b985ad9099384
[3.13] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845) (GH-138085)

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]