setattr and getattr, when to use?

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue Aug 26 04:41:38 EDT 2008


Jason Scheirer a écrit :
(snip)
> The 5%
> of your time when you are doing metaprogramming or other abuses of the
> object system are when you use get/setattr.

What makes you label "metaprogramming" and get/setattr as "abuses" ???



More information about the Python-list mailing list