
Aug. 13, 2009
8:11 a.m.
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