diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-11-04 13:14:34 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-11-04 13:14:34 (GMT) |
commit | aab9c2b2ead7b786947c367a9cc5d9c921b9ea99 (patch) | |
tree | 323a662a1f65b39e90d28f9f259bc937467691a7 /Misc | |
parent | 1321edaa55a8df94e739e6ea5e9e658f2b7bfcc2 (diff) | |
download | cpython-aab9c2b2ead7b786947c367a9cc5d9c921b9ea99.zip cpython-aab9c2b2ead7b786947c367a9cc5d9c921b9ea99.tar.gz cpython-aab9c2b2ead7b786947c367a9cc5d9c921b9ea99.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -431,6 +431,7 @@ Hans de Graaff Nathaniel Gray Eddy De Greef Grant Griffin +Andrea Griffini Duncan Grisby Fabian Groffen Eric Groo @@ -12,6 +12,9 @@ What's New in Python 3.3.1? 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__. |