]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on inval...
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Wed, 1 Jul 2026 18:48:20 +0000 (02:48 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 18:48:20 +0000 (18:48 +0000)
commit205dfff87cd09af308351763f2a53a77974a56be
tree210c2dbdb1770013e242fb60d2dfbddfd465a156
parent5708818a0e8c0a9e02ad667ec9ddb53418ea5117
[3.14] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on invalid lengths (GH-152061) (#152786)

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]