[Python-3000] Py3k release schedule worries (original) (raw)

Guido van Rossum guido at python.org
Wed Dec 20 01:19:21 CET 2006


On 12/19/06, Georg Brandl <g.brandl at gmx.net> wrote:

> - turning list comprehensions into syntactic sugar for generator expressions

I'd like to point out that there is already my patch for that, which implements set comprehensions and list comprehensions exactly as syntactic sugar for GEs. This, however, affects performance greatly as LCs are executed in their own function scope, which isn't necessary. A better implementation would therefore leave the LC implementation as is, only preventing the name leaking into the enclosing scope.

Do you think you have it in you to tackle this?

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list