[Zope] Re: DateTime mess
Jürgen Herrmann
Juergen.Herrmann at XLhost.de
Tue Nov 22 09:04:38 EST 2005
[ Lennart Regebro wrote:]
> On 11/22/05, Jürgen Herrmann <Juergen.Herrmann at xlhost.de> wrote:
>> i'll surely change the storage format, when rewriting it!
>
> So you plan on having some version marker, or so, which
> tells which storage format is used?
>
> //Curious.
basicall i thought about having a dateime instance as "storage" in the
new implementation and test for it's existance on DateTime instances.
something like that:
dt = getattr(self, '_datetime', None)
if dt is not None:
#new, everything ok
else:
#migrate!
rfc!
regards, juergen herrmann
_______________________________________________________________________
>> XLhost.de - eXperts in Linux hosting <<
Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg
Fon: +49 (0)700 XLHOSTDE [0700 95467833]
Fax: +49 (0)721 151 463027
WEB: http://www.XLhost.de
More information about the Zope
mailing list