Author martin.panter
Recipients SilentGhost, acucci, belopolsky, berker.peksag, cvrebert, ezio.melotti, gvanrossum, jerry.elmore, lemburg, martin.panter, matrixise, terry.reedy, tim.peters, vstinner
Date 2016-02-23.10:33:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
About rounding: I’m not too sure what people would expect. Obviously it is much easier to implement truncating to zero. But it is different to many other rounding cases in Python; that is why I thought to make it explicit.

>>> datetime.fromtimestamp(59.9999999).isoformat(timespec="microseconds")
>>> datetime.fromtimestamp(59.999999).isoformat(timespec="milliseconds")
>>> format(59.999999, ".3f")
Date User Action Args
2016-02-23 10:33:09martin.pantersetrecipients: + martin.panter, lemburg, gvanrossum, tim.peters, terry.reedy, belopolsky, vstinner, ezio.melotti, cvrebert, SilentGhost, berker.peksag, matrixise, jerry.elmore, acucci
2016-02-23 10:33:09martin.pantersetmessageid: <>
2016-02-23 10:33:09martin.panterlinkissue19475 messages
2016-02-23 10:33:08martin.pantercreate