summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@protonmail.com>2023-06-11 10:03:09 (GMT)
committerGitHub <noreply@github.com>2023-06-11 10:03:09 (GMT)
commit16d49680b56e00c53c00683b949138e584669fd3 (patch)
treed84dd158f307b2307bced99ece5ad11630e14bf1 /Misc/NEWS.d/next
parent35cff545db7c7912046c0ce5627db2e4d2b60f57 (diff)
downloadcpython-16d49680b56e00c53c00683b949138e584669fd3.zip
cpython-16d49680b56e00c53c00683b949138e584669fd3.tar.gz
cpython-16d49680b56e00c53c00683b949138e584669fd3.tar.bz2
gh-105375: Harden _datetime initialisation (#105604)
Improve error handling so init bails on the first exception.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2023-06-09-22-45-26.gh-issue-105375.9rp6tG.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-09-22-45-26.gh-issue-105375.9rp6tG.rst b/Misc/NEWS.d/next/Library/2023-06-09-22-45-26.gh-issue-105375.9rp6tG.rst
new file mode 100644
index 0000000..352d7b8
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-06-09-22-45-26.gh-issue-105375.9rp6tG.rst
@@ -0,0 +1,2 @@
+Fix bugs in :mod:`!_datetime` where exceptions could be overwritten in case
+of module initialisation failure.