"David Coffin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Is it possible to add an attribute to a new style class where the name of | that attribute is determined at runtime?
>>> class C(object): pass >>> setattr(C,'a',1) >>> C.a 1 And hasattr, getattr work also. -- http://mail.python.org/mailman/listinfo/python-list