]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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 17:01:40 +0000 (19:01 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 17:01:40 +0000 (17:01 +0000)
commit45a0043971a0f4d1ec586e4fe18cbd6e9a2e2268
treedef45db60b2aa9cfe56ed0cf4126dab7f2dbe46b
parentba8548ca82773803dff5d426bbf4a8a40375c924
[3.15] gh-151770: Fix `datetime.fromisoformat()` on an out-of-range month w/ a 24:00 time (GH-151771) (#151809)

(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