STINNER Victor <vstin...@python.org> added the comment:

One option to explore is to add a "leap seconds" field to datetime.datetime 
which can be negative (just in case someone decides to add negative leap 
seconds in the future).

It can use in operations which involve time zones, it can be 
serialized/deserialized, but datetime.datetime.timestamp() would ignore this 
field ("drop" leap seconds on purpose).

----------
nosy: +p-ganssle
resolution: wont fix -> 
status: closed -> open

_______________________________________
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