From: "Matt" <[EMAIL PROTECTED]>
> I am using __setstate__ to reload files into memory for objects of a
product I
> have made.  This all works nicely, as is it supposed to.  The problem
though is
> that the object seems not to know about its environment at that time

__setstate__ is called on the bare object, without any acquisition wrappers.
All you can do at that time is load state and set volatile attributes for
use later.

Cheers,

Evan @ digicool & 4-am


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to