[Zope] DateTime mess

Lennart Regebro regebro at gmail.com
Tue Nov 29 08:22:43 EST 2005


On 11/29/05, Chris Withers <chris at simplistix.co.uk> wrote:
> Hmm... how so? I've always thought it quite nice that when, for example,
> you store the modification time of an object in a DateTime, you can
> safely update it without worrying about the whole object having to be
> repickled when you change it...

Oh, so that make a difference? datetime objects are unchangeable, so
everytime you change it you will have to set the attribute, and I
thought the whole object got pickled then, but I guess that it
doesn't, then.

I that case, a persistance-aware datetime could be beneficial.

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list