Tim Peters <tim.pet...@gmail.com> added the comment:

Note that round() is implemented much more carefully in Python 3.x than in 
Python 2.x, and 120 is actually the correct result under nearest/even rounding 
(125 is exactly halfway between representable values when rounded to the 
closest 10, and nearest/even rounding resolves the ambiguity by picking the 
closest value whose last relevant digit is even).

----------
nosy: +tim_one

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

Reply via email to