[ZODB-Dev] zodb and weakrefs

Jim Fulton jim at zope.com
Wed Mar 19 09:29:07 EDT 2008


On Mar 19, 2008, at 12:48 AM, Sean Allen wrote:

> can someone point me to documentation on how zodb handles weakrefs?


Python weakrefs are not pickable so ZODB doesn't support them.

ZODB has it's own wekref implementation.  I added it in preparation  
for work on persistent interfaces.  I wish I hadn't,  I doubt anyone  
is using that.

ZODB cross-database references have wek semantics. This is not very  
popular. :/

Jim

--
Jim Fulton
Zope Corporation




More information about the ZODB-Dev mailing list