En Sun, 18 May 2008 12:32:28 -0300, Terry <[EMAIL PROTECTED]> escribió:
> On May 17, 8:04 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> En Fri, 16 May 2008 20:44:00 -0300, Terry <[EMAIL PROTECTED]> >> escribió: >> >> > Is there a simple way to get all the instances of one class? I mean >> > without any additional change to the class. >> >> Try with gc.get_referrers() > > But I saw in the help that we should "Avoid using get_referrers() for > any purpose other than debugging. " Yes - so what do you want to do actually? -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list