]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-151770: Fix `datetime.fromisoformat()` on an out-of-range month w/ a 24...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jun 2026 16:59:20 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 16:59:20 +0000 (16:59 +0000)
commit9c23ee02e5ae7a8dacc7eb0690a8859d8bf4cef6
treeca8d18b531bc4300d851beb8dec340b7cc08debc
parentb1d12eb2742691c9f40740206d0d0af65d0d32d9
[3.14] gh-151770: Fix `datetime.fromisoformat()` on an out-of-range month w/ a 24:00 time (GH-151771) (#151810)

(cherry picked from commit 1fb874cc076e771c39a7bbc650dce386e3c5b7a0)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2026-06-20-15-00-00.gh-issue-151770.dtiso0.rst [new file with mode: 0644]
Modules/_datetimemodule.c