"Nick Maclaren" <[EMAIL PROTECTED]> wrote:
> > Hmm. The extensions documentation describes how to add instance > members to a class (PyMemberDef), but I want to add a class member. > Yes, this is constant for all instances of the class. > > Any pointers? When? - at time of defining base class, between class definition and first instance, at time of creating instance, or after instance creation? After instance creation is not easy, I think you would have to add to each instance... But then, I may be wrong - I often am. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list