[Python-ideas] Assignments in list/generator expressions
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Apr 12 01:24:54 CEST 2011
Eugene Toder wrote:
> The problem with 'where'
> is that it's already used as identifier by various SQL frameworks,
> which is why PEP 3150 uses 'given' instead.
That's not necessarily a deal-breaker -- it could be made
context-sensitive, like was done with 'as' for a few versions
before it became a true keyword.
--
Greg
More information about the Python-ideas
mailing list