A "scopeguard" for Python

Michael Rudolf spamfresser at ch3ka.de
Thu Mar 4 12:55:18 EST 2010


Am 04.03.2010 17:32, schrieb Jean-Michel Pichavant:
> It looks like to me that 'with' statements are like decorators: overrated.

Oh no, you just insulted my favourite two python features, followed 
immediately by generators, iterators and list comprehensions / generator 
expressions :p

No, really: they *are* great ;D

Regards,
Michael



More information about the Python-list mailing list