[ZODB-Dev] PersistentMapping in BTrees

Jeremy Hylton jeremy at zope.com
Fri May 30 16:47:23 EDT 2003


On Fri, 2003-05-30 at 11:35, Thomas Guettler wrote:
> Hi ZODB gurus,
> 
> I want to store instances of a class which derives from
> PersistentMapping in a OOBTree.
> 
> Now I am looking for a way to write the __cmp__ method. Is there
> something like an id() method for persistent objects? I know addresses
> of references get lost since they are not persistent. Is there
> something like a persistent reference?

What is equality supposed to mean for these objects?

Jeremy





More information about the ZODB-Dev mailing list