summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 39e702b..79e6185 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -802,6 +802,11 @@ sys
exception instance, rather than to a ``(typ, exc, tb)`` tuple.
(Contributed by Irit Katriel in :gh:`103176`.)
+* :func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`.
+ The recursion limit now applies only to Python code. Builtin functions do
+ not use the recursion limit, but are protected by a different mechanism
+ that prevents recursion from causing a virtual machine crash.
+
tempfile
--------