]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120268: Prohibit passing ``None`` to ``_pydatetime.date.fromtimestamp`` (#120269)
authorKirill Podoprigora <kirill.bast9@mail.ru>
Sat, 8 Jun 2024 20:45:57 +0000 (23:45 +0300)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2024 20:45:57 +0000 (16:45 -0400)
commit34f5ae69fe9ab0f5b23311d5c396d0cbb5902913
tree59d90b39cb0f53c3ff6870132795f4a150b20fa1
parent7c016deae62308dd1b4e2767fc6abf04857c7843
gh-120268: Prohibit passing ``None`` to ``_pydatetime.date.fromtimestamp`` (#120269)

This makes the pure Python implementation consistent with the C implementation.
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2024-06-08-14-36-40.gh-issue-120268.MNpd1q.rst [new file with mode: 0644]