how to add property "dynamically"?

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Aug 20 05:15:18 EDT 2008


Rafe a écrit :
(snip)
> I posted this to another thread, but...

And I answered there, explaining why it's not a proper solution.
http://groups.google.com/group/comp.lang.python/browse_frm/thread/7ed51a8614a58082#


(snip about using __new__ to add class attributes, cf above link for more)



More information about the Python-list mailing list