[issue3331] Possible inconsistency in behavior of list comprehensions vs. generator expressions
Guido van Rossum
report at bugs.python.org
Thu Jul 10 18:46:13 CEST 2008
Guido van Rossum <guido at python.org> added the comment:
IMO the generator expression is wrong in interpreting the StopIteration
as a break. It should fail just like the list comprehension fails.
----------
nosy: +gvanrossum
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3331>
_______________________________________
More information about the Python-bugs-list
mailing list