[Datetime-SIG] Calendar vs timespan calculations...

Guido van Rossum guido at python.org
Sun Aug 2 21:19:56 CEST 2015


On Sun, Aug 2, 2015 at 8:52 PM, Ethan Furman <ethan at stoneleaf.us> wrote:

> On 08/02/2015 10:32 AM, Łukasz Rekucki wrote:
>
> I don't have much time to respond now, but please don't add leap seconds.
>> People
>>  are actively working to get rid of them entirely and they are never
>> useful on the
>> business level which this module is aimed at.
>>
>
> I don't know whether we should add support for leap-seconds to the new
> strict tzinfo, but I will mention that the proposal to get rid of them
> keeps being postponed, and leap seconds are actively harming the business
> community precisely because they are not being accounted for.
>

I like the idea of using a special tzinfo to reveal the leap seconds for
those who really want them. (And we won't have to provide such a tzinfo --
it's enough that one could be written, given a table of leap seconds.)

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150802/ba7e4070/attachment-0001.html>


More information about the Datetime-SIG mailing list