Closed perrinjerome closed 7 months ago
( I used perrinjerome/fix-year-2038
as branch name, but it's in https://github.com/zopefoundation/DateTime/ repository )
Jérome Perrin wrote at 2024-3-20 22:32 -0700:
... it's like this in other places in this file, I was tempted to remove this
I have seen this only after my suggestion (checking why the tests did not fail).
and replace int everywhere, we can do that in another PR
+1
Released in https://pypi.org/project/DateTime/5.5/
During pickle serialization, the
_micros
attribute was casted to float, to save a little bit of disk space by making shorter pickles, this was true when ZODB was using pickle protocol 1, but nowadays it uses protocol 3 and exporting as an int produces pickles of the same length as with a float.Fixes #56