[Python-Dev] Status on PEP-431 Timezones

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Jul 28 14:12:19 CEST 2015

On 28/07/2015 07:54, Lennart Regebro wrote:
> On Tue, Jul 28, 2015 at 8:11 AM, Tim Peters <tim.peters at gmail.com> wrote:
>> [Tim]
>>>> timedelta objects only store days, seconds, and microseconds,
>> [Lennart Regebro <regebro at 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

More information about the Python-Dev mailing list