STINNER Victor added the comment:

> 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.

Not only Tim prefers this rounding mode, Python 2.7 also uses the same mode, 
and the original poster basically said that Python 3 doesn't behave like Python 
2. So... the most obvious rounding mode is the same than Python 2, 
ROUND_HALF_UP.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23517>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to