[Python-3000] Py3k release schedule worries (original) (raw)
Georg Brandl g.brandl at gmx.net
Wed Dec 20 11:51:07 CET 2006
- Previous message: [Python-3000] Py3k release schedule worries
- Next message: [Python-3000] Efficient LC's which don't leak the iteration variables (was Re: Py3k release schedule worries)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Py3k release schedule worries
- Next message: [Python-3000] Efficient LC's which don't leak the iteration variables (was Re: Py3k release schedule worries)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]