[issue6673] Uncaught comprehension SyntaxError eats up all memory

Terry J. Reedy report at bugs.python.org
Sun Jun 26 23:33:00 CEST 2011


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

With 32bit winxp Windows Task Manager open to Processes, sorted by Men Usage, I verified expanding memory usage in 3.2.0 (and stopped at 200 mb versus normal <20Mb). While we do not expect compiler to catch while True: pass, it would be nice if this was, with a reasonable error message.

No one marked for 2.7 because behavior only occurs with genexp and Nick says not so clearly a SyntaxError.

----------
nosy: +terry.reedy
title: Py3.1 hangs in coroutine and eats up all memory -> Uncaught comprehension SyntaxError eats up all memory
versions: +Python 3.2, Python 3.3 -Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6673>
_______________________________________


More information about the Python-bugs-list mailing list