[issue32758] Stack overflow when parse long expression to AST

Terry J. Reedy report at bugs.python.org
Fri Feb 9 19:22:41 EST 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Experimenting on Windows with IDLE's current 3.7 Shell, where a user process crash restarts Shell, compile('+a'*31365, '?', 'eval') consistently gives RecursionError, values a bit larger sometimes crash, and values much larger (32000, at max) consistently crash.  Perhaps it is not just a coincidence that the regressed lower limit for crashing is near 2**15.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32758>
_______________________________________


More information about the Python-bugs-list mailing list