]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-151039: Fix a crash when `_datetime` types outlive `_datetime` module ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 9 Jun 2026 12:10:49 +0000 (14:10 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jun 2026 12:10:49 +0000 (12:10 +0000)
commitbdaf1520429a0eaa6d95e6757d5d953f5fa4106f
tree774f00e8d73a8ccb1c8ae3b5262150d61bbc5a1e
parentcb96d5ea4a63faa0db47213f386012214447be8a
[3.14] gh-151039: Fix a crash when `_datetime` types outlive `_datetime` module (GH-151044) (#151144)

gh-151039: Fix a crash when `_datetime` types outlive `_datetime` module (GH-151044)
(cherry picked from commit 9fdbade99e6bcc607d9f12416bfca5bbf94022b9)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2026-06-07-17-29-33.gh-issue-151039.AZ0qBn.rst [new file with mode: 0644]
Modules/_datetimemodule.c