]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151728: Partially revert "Clear the typing caches at interpreter shutdown (GH...
authorPetr Viktorin <encukou@gmail.com>
Fri, 31 Jul 2026 14:00:12 +0000 (16:00 +0200)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2026 14:00:12 +0000 (16:00 +0200)
commit6a139d6e5481d2b5124b84cef9885674256c9d54
tree694877afd0eec6637e3a8d34019c28c6b35fc39a
parent93e2c7703c5a3c98a9a7d6bf4dcab4aac0d27c6e
gh-151728: Partially revert "Clear the typing caches at interpreter shutdown (GH-154858)" (GH-154992)

Unfortunately, this change causes reference leak tests to fail.

This only reverts the `atexit` registration: it leaves the `_clear_caches` function, to simplify the regrtest utils code a bit.
Lib/typing.py
Misc/NEWS.d/next/Library/2026-07-29-11-05-00.gh-issue-151728.Kq3vTn.rst [deleted file]