Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 80239:ab02cd145f56 3.3
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.
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Sun, 04 Nov 2012 23:14:34 +1000 |
| parents | 85cccc38d01c |
| children | ffb2fa900cb7 |
