Michael Hudson <mwh at python.net> writes: > Thomas Heller <theller at python.net> writes: >> >> In Python debug builds, there's the sys.getrefcount() function. > > In *all* builds, there's sys.getrefcount(). Are you thinking of > sys.gettotalrefcount()? Yes, probably. Thanks for the correction. Thomas