[Zope] Upgrading a product
Oleg Broytmann
phd@phd.russ.ru
Wed, 15 Dec 1999 18:30:54 +0000 (GMT)
On Wed, 15 Dec 1999 rgines@purina.com wrote:
> >Good Question! The answer is with __setstate__.
>
> Hmmm. This just might work. Thanks. I'm assuming then that this
> 'upgradablility' must be designed into the 'version 1' of the product
> in order to let it essentially be self upgrading?
It seems so, and it's issue of Python, not Zope.
> Are you aware of any working examples of this in action?
Deja.com is full of __setstate__ examples with details. :)
Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.