]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on inval...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jun 2026 14:10:54 +0000 (16:10 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 14:10:54 +0000 (14:10 +0000)
commit8146fa4727314cb32af5eb53bb4f4a3fa8c6fe26
treeec4f8ff1419557e800c0c8e5c2d3bf7a8b9215b6
parent9fb286eae98959e095818a857400bcb022db5463
[3.15] gh-152060: Fix `_pydatetime.fromisoformat()` raising `AssertionError` on invalid lengths (GH-152061) (#152081)

(cherry picked from commit ff781d52d451db56e154aac35ae7f2c41b1695a4)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
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]