[Zope3-dev] Re: [Zope] Zope (X)3 FAQ

Chris Withers chrisw@nipltd.com
Tue, 22 Apr 2003 13:28:14 +0100


Steve Alexander wrote:
> 
>> Will there be a "standard" way of updating existing instances to
>> changes in the python source?
> 
> You can use the __setstate__ hook for this.

How do you ensure that the object hasb't already had this __setstate__ 
modification done on it?

What are the performance implications of using __setstate__ in this way?

cheers,

Chris