[issue23517] datetime.utcfromtimestamp rounds results incorrectly

Alexander Belopolsky report at bugs.python.org
Fri Sep 4 23:05:01 CEST 2015


Alexander Belopolsky added the comment:

Victor,

I did not quite understand why you've chosen ROUND_HALF_UP over ROUND_HALF_EVEN, but as long as fromtimestamp() uses the same rounding as timedelta() - I am happy.

----------

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


More information about the Python-bugs-list mailing list