Paddy wrote: > Laurent Rahuel wrote: > > > > Laurent. > > I, like Diez am unsure of why you would need what you have asked for, > but maybe this will help. > > You can keep track of all instances of a class by this kind of thing: > > >>> class C1(object): > ... inst = [] > ... def __init__(self): > ... self.inst.append(self) > ...
or list all subclasses with print LaurentsPutativeMetaClass.__subclasses__() me 3 for: not clear what you're getting at -- http://mail.python.org/mailman/listinfo/python-list