[Grok-dev] Pickling an object stored in the Zodb. How do I skip the __parent__ attribute?

Sebastian Ware sebastian at urbantalk.se
Mon Aug 18 04:25:13 EDT 2008

When looking at the data, the pickle is in fact deep. I believe the  
problem is related to importing and might be a side effect of using  
the adapter. I am going to investigate the egg that was mentioned.

Mvh Sebastian

15 aug 2008 kl. 19.48 skrev Jegenye 2001 Bt (Miklós Prisznyák):

> 2008/8/15 Sebastian Ware <sebastian at urbantalk.se>
> Might have jumped the gun here. Looks like the containers in these
> objects aren't exported, or at least they aren't imported again.
> Further investigation ahead...
> Your object traversing (for obj in self.context['default'].
> values()) is "shallow",  you need  a recursive way to walk over the  
> object tree.
> -- 
> Best regards,
>    Miklós
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev

More information about the Grok-dev mailing list