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

(cherry picked from commit 112c69a0514902af2d2f7d0503de6690ca59a10f)

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