Alex Martelli wrote: > Vijairaj R <[EMAIL PROTECTED]> wrote: > ... > > class Test: > > do not use old-style classes: they exist ONLY for backwards > compatibility. > > Make you class Test new-style: > > class Test(object): > ... > > > and you can call Test.__subclasses__() to get a list of all extant > subclassed of Test at any time. > > > Alex
Thanks Alex. That's a new one to me -- new-style classes have so many strange properties. -- http://mail.python.org/mailman/listinfo/python-list