[Python-3000] Py3k release schedule worries

Georg Brandl g.brandl at gmx.net
Wed Dec 20 11:51:07 CET 2006


Guido van Rossum schrieb:
> 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?

I'll implement it if only someone can point me in the right direction
how to do it.

Georg



More information about the Python-3000 mailing list