]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105375: Harden _datetime initialisation (GH-105604) (#105645)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:46:33 +0000 (03:46 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:46:33 +0000 (10:46 +0000)
commit36ecbc3570120c55d89eb8695b16525d6e77b454
tree2f495aa06602b587ccace92efe6411bd9fd626b5
parent85a1a0983f7e7b6a5f35cf253d1edf5aee35795d
[3.12] gh-105375: Harden _datetime initialisation (GH-105604) (#105645)

Improve error handling so init bails on the first exception.
(cherry picked from commit 16d49680b56e00c53c00683b949138e584669fd3)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-09-22-45-26.gh-issue-105375.9rp6tG.rst [new file with mode: 0644]
Modules/_datetimemodule.c