Generator Comprehensions

Tim Peters at
Tue Jan 29 20:24:52 EST 2002

> Um, as someone who is *not* a functionally-minded person, I can easily
> argue the surprise factor both ways, particularly given the C++
> capability of introducing a local scope at any point.  I think the way
> listcomps currently work was probably the best decision, but <shrug>.

I don't, but I shrug too -- it doesn't amount to a hill of beans overall.

    y'rs  - tim

More information about the Python-list mailing list