]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on inval...
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Wed, 1 Jul 2026 18:47:57 +0000 (02:47 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 18:47:57 +0000 (20:47 +0200)
commitf05bfc3685a803e41dafcdfe1cdf0f33136c6db2
tree0ac3f34bac0865d4a31253e43c17250693914ea1
parentc8c32e2424e84e9bdd30d6353e8ab08f9e8149e8
[3.13] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on invalid lengths (GH-152061) (#152787)

Co-authored-by: Stan Ulbrych <stan@python.org>
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2026-06-24-10-46-35.gh-issue-152060.f2asrt.rst [new file with mode: 0644]