watching the number of references to an object

Courageous jkraska at
Thu Feb 14 18:30:48 CET 2002

On Thu, 14 Feb 2002 15:50:04 -0000, "Paul Brian" <paul1brian at> wrote:

>Dear all,
>Does anyone know how to monitor the references pointing to an instance of an

In addition to the other answers, please note that the number of
referrers will often be 1 higher than what you expect: the function
for getting the references itself temporarily grabs a reference,


More information about the Python-list mailing list