En Mon, 05 Feb 2007 12:59:23 -0300, Olivier Feys <[EMAIL PROTECTED]>
escribió:
> I'm working on a tree and I have refcounting problems.
> Is it possible from an object, to get the list of objects referencing it
> ?
Try gc.get_referrers
--
Gabriel Genellina
--
http://mail.python.org/mailma
Olivier Feys a écrit :
> I'm working on a tree and I have refcounting problems.
> Is it possible from an object, to get the list of objects referencing it ?
Another solution may be to use weak references:
http://docs.python.org/lib/module-weakref.html
HTH
--
http://mail.python.org/mailman/listin
Olivier Feys wrote:
> I'm working on a tree and I have refcounting problems.
> Is it possible from an object, to get the list of objects referencing it ?
The gc-module might help, but it is somewhat overwhelming.
Diez
--
http://mail.python.org/mailman/listinfo/python-list