I'm trying to detect a disparity between an instance __version__ and a
class __version__, signifying a class upgrade. However, I'm not sure
why the following code doesn't work.
class Foo(Persistent):
__version__ = 1.0
def __setstate__(self, state):
Persistent.__setstate__( self,
Hello Chris Spencer,
Saturday, October 29, 2005, 7:16:43 AM, you wrote:
CS Would it be possible to support some system of class versioning in ZODB,
CS to aid to handling modifications to source code? For instance, suppose
CS each class definition has a __version__ attribute. Upon
Lennart Regebro wrote:
On 10/29/05, Chris Spencer [EMAIL PROTECTED] wrote:
Would it be possible to support some system of class versioning in ZODB,
to aid to handling modifications to source code? For instance, suppose
each class definition has a __version__ attribute. Upon serialization,
this