[Python-ideas] Assignments in list/generator expressions

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 13 00:22:23 CEST 2011


Nick Coghlan wrote:

> given/as resolves the parsing ambiguity problem by putting the names second:

And I don't like that. I would rather see an = sign.
We're doing an assignment, after all, so we should
make it look like one if we can.

-- 
Greg



More information about the Python-ideas mailing list