watching the number of references to an object

Paul Brian paul1brian at yahoo.com
Thu Feb 14 16:50:04 CET 2002


Dear all,

Does anyone know how to monitor the references pointing to an instance of an
object?

the gc module (according to docs) seems to show those with no references
left, but I am interested in seeing how many refs a given instance has...any
ideas on back of a postcard please

-----------------------------
P Brian
"I haven't worked out how to add signatures to my newsreader yet"





More information about the Python-list mailing list