Guido van Rossum schrieb: > On 12/19/06, Georg Brandl <[EMAIL PROTECTED]> 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 _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
