]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat` (#152161)
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Wed, 1 Jul 2026 09:54:02 +0000 (17:54 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 09:54:02 +0000 (11:54 +0200)
commit112c69a0514902af2d2f7d0503de6690ca59a10f
treef7af45577f7c16380b2e87fb333bd2aeb0d3c058
parent711e81181e1a2e2f74ad75acdb8e184ea44e1fb9
gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat` (#152161)

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