[Python-Dev] [issue6673] Py3.1 hangs in coroutine and eats up all memory

Stefan Behnel stefan_ml at behnel.de
Thu Aug 13 10:11:30 CEST 2009


Antoine Pitrou wrote:
> Stefan Behnel <stefan_ml <at> behnel.de> writes:
>> IMHO, that's pretty far from obvious when you look at the code.
> 
> A "yield" wrapped in a list comprehension looks far from obvious IMO anyway,
> whether in 2.x or 3.x. It's this kind of "smart" writing tricks people find that
> only makes code more difficult to read for others (à la Perl).

So, your vote is to make it a compiler error as well?

Stefan



More information about the Python-Dev mailing list