Re: [ZODB-Dev] zodb and weakrefs

2008-03-19 Thread Dirceu Pereira Tiegs
On Wed, Mar 19, 2008 at 1:48 AM, Sean Allen [EMAIL PROTECTED] wrote:
 can someone point me to documentation on how zodb handles weakrefs?

See http://svn.zope.org/ZODB/trunk/src/persistent/wref.py?rev=29450view=markup

Regards,
-- 
Dirceu Pereira Tiegs
Weimar Consultoria

Hospedagem Plone, Zope e Python
http://www.pytown.com
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zodb and weakrefs

2008-03-19 Thread Jim Fulton


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


___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev