Maximilian Nöthe <maximilian.noe...@tu-dortmund.de> added the comment:

Could this be revisited?

Especially now that datetime supports `fromisoformat`, as there are valid 
ISO8601 timestamps in UTC out there, that contain the leap seconds, e.g. files 
describing when those occured or will occur.

E.g. the NTP Leap second file:
https://kb.meinbergglobal.com/kb/time_sync/ntp/configuration/ntp_leap_second_file

This get's synced on linux to `/usr/share/zoneinfo/leapseconds` and could even 
be used by python to lookup when leap seconds occured.

The datetime also gained a fold argument, which if it is not wanted to support 
second values of 60 to at least be able to parse those.

The 60th second of a minute is a reality with our current civil time keeping, 
so python should be able to handle it.

----------
nosy: +maxnoe

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue23574>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to