]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat`...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 10:23:08 +0000 (12:23 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 10:23:08 +0000 (10:23 +0000)
commit63da6c86eb7e10b04ce39d3dff70e77a1ace4255
tree7228e08326a34ef2565b121dd35b0c110a29bbcf
parentf663e54dc402d304771be75eac41d5c44a73065b
[3.15] gh-152157: Reject empty fractions in `_datetime.{date}time.fromisoformat` (GH-152161) (#152761)

(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