Message284555
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 ;-) |
|
Date |
User |
Action |
Args |
2017-01-03 12:47:46 | vstinner | set | recipients:
+ vstinner, paul.moore, belopolsky, tim.golden, zach.ware, steve.dower, Decorater |
2017-01-03 12:47:46 | vstinner | set | messageid: <1483447666.38.0.448819340406.issue29063@psf.upfronthosting.co.za> |
2017-01-03 12:47:46 | vstinner | link | issue29063 messages |
2017-01-03 12:47:46 | vstinner | create | |
|