[Python-Dev] list comprehensions again...
esr@thyrsus.com
esr@thyrsus.com
Tue, 11 Jul 2000 23:17:51 -0400
Skip Montanaro <skip@mojam.com>:
>
> Guido> [(x,y) for x in (1,2,3) for y in (4,5,6)]
> Guido> Would it be really bad if we forced them to write it that way?
>
> For that matter, perhaps requiring parens for all tuple definitions in Py3k
> wouldn't be a bad idea.
+1. IMO, naked tuples assignments are Perlish -- initially cute, but
confusing. Syntactic junk food.
--
<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>
The common argument that crime is caused by poverty is a kind of
slander on the poor.
-- H. L. Mencken