Issue #5765: Apply a hard recursion limit in the compiler
Previously, excessive nesting in expressions would blow the
stack and segfault the interpreter. Now, a hard limit based
on the configured recursion limit and a hardcoded scaling
factor is applied.
diff --git a/Misc/ACKS b/Misc/ACKS
index 81ed27c..abf4a5d 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -431,6 +431,7 @@
Nathaniel Gray
Eddy De Greef
Grant Griffin
+Andrea Griffini
Duncan Grisby
Fabian Groffen
Eric Groo
diff --git a/Misc/NEWS b/Misc/NEWS
index 89124da..cfa3bbe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
Core and Builtins
-----------------
+- Issue #5765: Apply a hard recursion limit in the compiler instead of
+ blowing the stack and segfaulting.
+
- Issue #16402: When slicing a range, fix shadowing of exceptions from
__index__.