]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat`...
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Wed, 8 Jul 2026 10:37:11 +0000 (18:37 +0800)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2026 10:37:11 +0000 (12:37 +0200)
commit0a29ea5bf60f1bff8b316c735038bc1dc16e4c18
treee4ac9c1335ed15aef00ca6183808679760927ede
parent2d0752e9556f79da402f30cba6cc1b0ca931d4fe
[3.14] gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat` (GH-152161) (#152765)

(cherry picked from commit 112c69a0514902af2d2f7d0503de6690ca59a10f)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2026-06-25-07-08-17.gh-issue-152157.dt5Ef0.rst [new file with mode: 0644]
Modules/_datetimemodule.c