On 07/01/10 23:19, Stephen Hansen <me+list/pyt...@ixokai.io> wrote: >> >> As long as setattr() exists in Python, that will be not so ordinary. :) > > setattr is perfectly ordinary.
If you think setattr() is as ordinary as a trivial assignment, I will argue with you, this is personal taste. However, I think setattr() is a builtin function, using it exposes the *magic* of metaprogramming (or class-programming, if more correct) at a first glance. -- Live like a child, think like the god. -- http://mail.python.org/mailman/listinfo/python-list