[Twisted-Python] Re: can pb.Copyable objects be compared for equality after a round trip?

Itamar Shtull-Trauring itamar at itamarst.org
Mon Jun 26 15:38:24 EDT 2006


On Tue, 2006-06-27 at 04:18 +0900, Robert Gravina wrote:

> ... that it prints out as nothing, but it really is something (hence  
> missing it in all my debug printouts)! (Those nutcase Zope  
> developers!)... anyhow, it now appears I can compare the _p_oid of a  
> Copyable coming back and find the object that represents it on the  
> server, update it accordingly, commit the transaction and do a  
> victory dance.

There are potential issues with that; I don't think ZODB oids are
guaranteed to be unique across multiple sub-databases. It's been long
enough since I used ZODB that I forget the details.





More information about the Twisted-Python mailing list