]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:14:47 +0000 (14:14 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jun 2026 12:14:47 +0000 (12:14 +0000)
commit3199f3ba29c3db9ff84147a228310a0408481d93
tree3af4619409f643ab3e8a1fff517ba907461700cb
parent2d432f21dba218c6442f29d1a28d24a8a7a7b1dc
[3.15] gh-151039: Fix a crash when `_datetime` types outlive `_datetime` module (GH-151044) (#151143)

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