attributes, properties, and accessors -- philosophy

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Nov 25 10:56:19 CET 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