diff options
author | Raymond Hettinger <python@rcn.com> | 2009-01-03 09:24:18 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-01-03 09:24:18 (GMT) |
commit | 40188782dd9cf3495293d8fe07070d4c642389fd (patch) | |
tree | b227405566bfdf87272045a2c27575a50fc1920a /Misc | |
parent | c921dacf7842a3a89395c68affa25793ee45d3f3 (diff) | |
download | cpython-40188782dd9cf3495293d8fe07070d4c642389fd.zip cpython-40188782dd9cf3495293d8fe07070d4c642389fd.tar.gz cpython-40188782dd9cf3495293d8fe07070d4c642389fd.tar.bz2 |
Fractions.from_float() no longer loses precision with large integer inputs.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ Core and Builtins Library ------- +- Fractions.from_float() no longer loses precision for integers to big to + cast as floats. + - Issue 4790: The nsmallest() and nlargest() functions in the heapq module did unnecessary work in the common case where no key function was specified. |