From a223c35d0b12cd66928018d0d581d25d2e39888c Mon Sep 17 00:00:00 2001 From: Vyron Vasileiadis Date: Sat, 8 Aug 2026 20:29:28 +0300 Subject: [PATCH] gh-155354: Document that sys no longer clears the type cache --- Doc/library/sys.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index a2668a38c6b4a2f..66a5af2b5b64cb1 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -242,6 +242,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. deprecated:: 3.13 Use the more general :func:`_clear_internal_caches` function instead. + .. versionchanged:: next + The type cache is no longer cleared, as it is now implemented per-type. + .. function:: _clear_internal_caches() @@ -250,6 +253,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. versionadded:: 3.13 + .. versionchanged:: next + The type cache is no longer cleared, as it is now implemented per-type. + .. function:: _current_frames()