Author vstinner
Recipients belopolsky, vstinner
Date 2015-03-03.14:52:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425394320.59.0.238705013185.issue23574@psf.upfronthosting.co.za>
In-reply-to
Content
Leap seconds are ignored, so a difference of <datetime before the leap second> and <datetime with the leap second> is zero:

>>> import datetime
>>> t1=datetime.datetime(2012, 6, 30, 23, 59, 59)
>>> t2=datetime.datetime(2012, 6, 30, 23, 59, 59)
>>> t2-t1
datetime.timedelta(0)

Supporting leap seconds might be possible, but it requires much more work.
History
Date User Action Args
2015-03-03 14:52:00vstinnersetrecipients: + vstinner, belopolsky
2015-03-03 14:52:00vstinnersetmessageid: <1425394320.59.0.238705013185.issue23574@psf.upfronthosting.co.za>
2015-03-03 14:52:00vstinnerlinkissue23574 messages
2015-03-03 14:52:00vstinnercreate