]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Blocked revisions 71701 via svnmerge
authorMark Dickinson <dickinsm@gmail.com>
Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)
commit70aa4e5c579bda4e7b602106574124ab40b34609
tree777f9b5ba06b3804edcd076b487f7c7ab0016a9f
parentc7ce952b88e71d0a69ca056fbed9f1e28ea43264
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, '.<n>f').

  Also fix some other round nuisances, like round(123.456, 1-2**31) giving
  an integer rather than a float.
........