get objects referencing another one

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Feb 5 19:31:50 EST 2007


En Mon, 05 Feb 2007 12:59:23 -0300, Olivier Feys <olivier.feys at gmail.com>  
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




More information about the Python-list mailing list