29 Sep
2011
29 Sep
'11
9:53 p.m.
Greg Ewing wrote:
Ethan Furman wrote:
Nick Coghlan wrote:
@nonlocal(n=0, lock=threading.Lock())
I think this fits in nicely with the @staticmethod and @classmethod decorator usage as well.
Maybe @iwastoolazytocreateaclassforthis would be a better name? :-)
Nah, it should be @thisisbetterasanalgorythmwithstatethanastinkinoopclass ! ~Ethan~