Author vstinner
Recipients Decorater, belopolsky, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-01-03.12:47:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483447666.38.0.448819340406.issue29063@psf.upfronthosting.co.za>
In-reply-to
Content
Not checking for integer overflow is more likely to hide bugs. Handling time is an hard problem, see a recent funny (or not) story from Cloudfare with the latest leap second added at midnight the 2016-12-31:
https://blog.cloudflare.com/how-and-why-the-leap-second-affected-cloudflare-dns/

Extract: "RRDNS is written in Go and uses Go’s time.Now() function to get the time. Unfortunately, this function does not guarantee monotonicity. Go currently doesn’t offer a monotonic time source (see issue 12914 for discussion)."

Hopefully, Python has time.monotonic() since Python 3.3 ;-)
History
Date User Action Args
2017-01-03 12:47:46vstinnersetrecipients: + vstinner, paul.moore, belopolsky, tim.golden, zach.ware, steve.dower, Decorater
2017-01-03 12:47:46vstinnersetmessageid: <1483447666.38.0.448819340406.issue29063@psf.upfronthosting.co.za>
2017-01-03 12:47:46vstinnerlinkissue29063 messages
2017-01-03 12:47:46vstinnercreate