]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Harden _datetime initialisation (GH-105604) (#105646)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:41:37 +0000 (03:41 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:41:37 +0000 (10:41 +0000)
commitcfa0f7c59baed2a001463ffa1fcb634677a8000c
tree9c21746c030702dd9b47f86909e66062b2f86867
parent3c08e54ccfff5c43ba79bbb4a95ad9effb16519a
[3.11] gh-105375: Harden _datetime initialisation (GH-105604) (#105646)

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