[Zope] __setstate__ and acquisition
Evan Simpson
evan@4-am.com
Sat, 20 Jan 2001 19:23:33 -0500
From: "Matt" <matt.bion@eudoramail.com>
> 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