Keeping track of subclasses and instances?

Michele Simionato michele.simionato at gmail.com
Thu Oct 11 00:35:44 EDT 2007


On Oct 10, 8:17 pm, Karlo Lozovina <_kar... at mosor.net> wrote:
> Hi,
>
> what's the best way to keep track of user-made subclasses, and instances of
> those subclasses? I just need a pointer in a right direction... thanks.
>
> --
> Karlo Lozovina -- Mosor

This recipe does what you want, with the intent of providing
automatic finalization of the instances, but you should be able
to tweak it to do everything you wish:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/523007

   Michele Simionato




More information about the Python-list mailing list