How to check what is holding reference to object

Michal M mich.mierzwa at googlemail.com
Tue Apr 27 22:45:16 CEST 2010


Hi

I've just found out that one of objects is not destroyed when it
should be. This means that something was holding reference to this
object or part of it (i.e. method). Is there any way to check what
holds that reference? I am unable to do that just looking to the code
or debugging it because it is pretty complicated, but I am able to
invoke this situation again.

Regards
Michal M.



More information about the Python-list mailing list