[ZODB-Dev] Getting refcount of object in ZODB

Greg Ward gward@mems-exchange.org
Fri, 29 Jun 2001 10:14:57 -0400


On 28 June 2001, Michel Pelletier said:
> Zope's control panel uses this code to show refcounts on the debug screen:
[...]
> This is just the normal in-memory refcounts.  Did you want to know about
> references between persistent objects in the storage, even if deactivated?

Correct, I'm interested in what's in the *database*, not what's in
memory.  As Barry guessed, I already knew about sys.getrefcount().

        Greg
-- 
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org