summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:14:34 +1000
committerNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:14:34 +1000
commitedcdaaa21d40a48b0fad3672f9a532534b935152 (patch)
treed6b1920626cc34c6a7a40df6569270616003c0dc /Python/pythonrun.c
parentdc7ff1e29901fae6638fdc1d479baf286bc0e803 (diff)
downloadcpython-edcdaaa21d40a48b0fad3672f9a532534b935152.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions