summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-03 09:24:18 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-03 09:24:18 (GMT)
commit40188782dd9cf3495293d8fe07070d4c642389fd (patch)
treeb227405566bfdf87272045a2c27575a50fc1920a /Misc
parentc921dacf7842a3a89395c68affa25793ee45d3f3 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 02e5085..2606ac1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.