From: Mark Dickinson Date: Sat, 18 Apr 2009 11:50:41 +0000 (+0000) Subject: Blocked revisions 71701 via svnmerge X-Git-Tag: 3.0~211 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70aa4e5c579bda4e7b602106574124ab40b34609;p=thirdparty%2FPython%2Fcpython.git Blocked revisions 71701 via svnmerge ........ r71701 | mark.dickinson | 2009-04-18 12:48:33 +0100 (Sat, 18 Apr 2009) | 7 lines Issue #1869 (and 4707, 5118, 5473, 1456775): use the new string <-> float conversion routines to make round(x, n) correctly rounded for floats x, so that it always agrees with format(x, '.f'). Also fix some other round nuisances, like round(123.456, 1-2**31) giving an integer rather than a float. ........ ---