setattr() oddness

Lie Ryan lie.1296 at gmail.com
Sat Jan 16 09:37:29 CET 2010


On 01/16/10 10:10, Sean DiZazzo wrote:
> Interesting.  I can understand the "would take time" argument, but I
> don't see any legitimate use case for an attribute only accessible via
> getattr().  Well, at least not a pythonic use case.

mostly for people (ab)using attributes instead of dictionary.



More information about the Python-list mailing list