[PEP 202 listcomps] (was RE: [Python-Dev] Product iteration)

Gordon McMillan gmcm@hypernet.com
Tue, 25 Jul 2000 15:56:35 -0400


[Tim]
> In this case I happen to think Moshe is trying to solve "a
> problem" likely nobody else sees as a problem, but I can't tell
> without seeing how others react to his (bizarre <wink>)
> suggestion. 

FWIW, I like the original Greg Ewing syntax best. Reason: list 
comprehensions are declarative, and his syntax *looks* 
declarative. Procedural syntax inside those [...] is wacko, just 
as 
 d = { ['one'] = 1, ['two'] = 2 } 
would be.

Also, extra punctuation is just noise.

PEP202-now-closed-ly y'rs


- Gordon