Re: [Zope-dev] Product upgrades

2002-01-26 Thread Chris Withers

"R. David Murray" wrote:
> 
> I'm surprised to have seen no mention of __setstate__ in this
> thread.  Is doing simple upgrade-on-the-fly via __setstate__
> now considered Bad Form?

Always has been in my book ;-)

cheers,

Chris

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



Re: [Zope-dev] Product upgrades

2002-01-24 Thread R. David Murray

On Wed, 23 Jan 2002, Max M wrote:
> Generally Zope uses pickle to save the objects. And pickel will not save
> the methods, nor the class attributes::

I'm surprised to have seen no mention of __setstate__ in this
thread.  Is doing simple upgrade-on-the-fly via __setstate__
now considered Bad Form?

--RDM


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