[Zope] __setstate__ and acquisition

2001-01-20 Thread Matt
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, i.e. it cannot acquire methods further back in the hierachy, but is

Re: [Zope] __setstate__ and acquisition

2001-01-20 Thread Evan Simpson
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

Re: [Zope] __setstate__ and acquisition

2001-01-20 Thread Matt
That makes sense. Is there any way to explicitly pass the surrounding namespace to __setstate__ ? The problem is this : my product is really a handle to methods that create or update files on the local filesystem. Previously I have been building filenames and paths within the product and then