This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients akira, belopolsky, dlroo, doughellmann, lemburg, maxnoe, p-ganssle, vstinner
Date 2020-03-29.23:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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).
Date User Action Args
2020-03-29 23:25:48vstinnersetrecipients: + vstinner, lemburg, belopolsky, doughellmann, akira, dlroo, p-ganssle, maxnoe
2020-03-29 23:25:48vstinnersetmessageid: <>
2020-03-29 23:25:48vstinnerlinkissue23574 messages
2020-03-29 23:25:48vstinnercreate