[issue23517] datetime.utcfromtimestamp rounds results incorrectly

STINNER Victor report at bugs.python.org
Sat Sep 5 22:49:31 CEST 2015


STINNER Victor added the comment:

> Alex & I do agree nearest/even must be used.

Ok, so Python 3.6 should be updated to use ROUND_HALF_EVEN, and then
updated patches should be backported to Python 3.4 and 3.5. Right?

Right now, Python 3.6 uses ROUND_HALF_UP.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23517>
_______________________________________


More information about the Python-bugs-list mailing list