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

Antoine Pitrou solipsis at pitrou.net
Wed Aug 12 17:18:14 CEST 2009


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).

Regards

Antoine.




More information about the Python-Dev mailing list