attributes, properties, and accessors -- philosophy

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Nov 25 04:56:19 EST 2009


Ethan Furman a écrit :
(snip)

> Okay, I'll go back and switch all my attributes *back* to attributes -- 
> and properties will be much nicer than my original implementation (using 
> __getattr__ and __setattr__).

It will also be faster FWIW.



More information about the Python-list mailing list