Martijn Faassen wrote at 2008-6-3 19:33 +0200:
> ...
>* if you don't inherit your class from Persistent, or use a python 
>builtin (which doesn't inherit from Persistent), things will be 
>serialized multiple time, as far as I'm aware. (I may be wrong)

In general you are right.

There are a few exceptional cases: the ZODB uses Python's
serialization (pickle) and this has support for sharing.
This means, if the same persistent object contains the same 
object twice, these instances are shared even if they are instances
of "Persistent".

-- 
Dieter
_______________________________________________
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

Reply via email to