[Python-ideas] Assignments in list/generator expressions

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 12 02:17:34 CEST 2011


I wrote:
> I don't think database programmers can
> expect to hijack the term and force everyone else to follow
> their own particular interpretation of it.

Having said that, I'm starting to think that 'given' works
better the way PEP 3150 uses it, when the block contains
things other than assignments.

Somehow 'where def f' doesn't sound right, but 'given def f'
does.

-- 
Greg



More information about the Python-ideas mailing list