summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-11 09:54:02 (GMT)
committerGitHub <noreply@github.com>2024-06-11 09:54:02 (GMT)
commit64a61ca13c221bf6a2cba4704e1d822b2c36af27 (patch)
treef483eee5049d3ecc19a67da3bca0c1fa80e1172e /Misc/NEWS.d/next/Library
parentf386cc96201bc14ec619108d696951033c56d39a (diff)
downloadcpython-64a61ca13c221bf6a2cba4704e1d822b2c36af27.zip
cpython-64a61ca13c221bf6a2cba4704e1d822b2c36af27.tar.gz
cpython-64a61ca13c221bf6a2cba4704e1d822b2c36af27.tar.bz2
[3.13] gh-120268: Prohibit passing ``None`` to ``_pydatetime.date.fromtimestamp`` (GH-120269) (GH-120282)
This makes the pure Python implementation consistent with the C implementation. (cherry picked from commit 34f5ae69fe9ab0f5b23311d5c396d0cbb5902913) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-08-14-36-40.gh-issue-120268.MNpd1q.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-08-14-36-40.gh-issue-120268.MNpd1q.rst b/Misc/NEWS.d/next/Library/2024-06-08-14-36-40.gh-issue-120268.MNpd1q.rst
new file mode 100644
index 0000000..d48d43c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-08-14-36-40.gh-issue-120268.MNpd1q.rst
@@ -0,0 +1,2 @@
+Prohibit passing ``None`` to pure-Python :meth:`datetime.date.fromtimestamp`
+to achieve consistency with C-extension implementation.