On 28/07/2015 07:54, Lennart Regebro wrote:
On Tue, Jul 28, 2015 at 8:11 AM, Tim Peters <tim.pet...@gmail.com> wrote:
[Tim]
timedelta objects only store days, seconds, and microseconds,
[Lennart Regebro <rege...@gmail.com>]
Except that they don't actually store days. They store 24 hour
periods,
Not really. A timedelta is truly an integer number of microseconds,
and that's all.
That's what I said. Timedeltas, internally assume that 1 day is 24
hours. Or 86400000 microseconds. That's the assumption internally in
the timedelta object.
The problem with that being that in the real world that's not true.
In my real world it is. We clearly have parallel worlds.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com