]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-70647: Raise a more informative error for when date is out of range (GH-131335)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Fri, 21 Mar 2025 03:47:09 +0000 (03:47 +0000)
committerGitHub <noreply@github.com>
Fri, 21 Mar 2025 03:47:09 +0000 (20:47 -0700)
commite0fda794fadb09f08a5d1a04aa6a7e0b42a99666
treec00d4e5cee767cc0aedea076d23a3eacf48a168d
parente3564689a59886f347e0b44d5296320d9fdd9039
gh-70647: Raise a more informative error for when date is out of range (GH-131335)

More informative error messages mean less debugging what went wrong.
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2025-03-16-18-30-00.gh-issue-70647.1qq2r3.rst [new file with mode: 0644]
Modules/_datetimemodule.c