watching the number of references to an object

Paul Brian paul1brian at
Thu Feb 14 10:50:04 EST 2002

Dear all,

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

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