summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-16 10:44:00 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-16 10:44:00 (GMT)
commit476279f18b1bbcc5939f6bb7a10dd937c933cfb3 (patch)
tree9a4f840b7f56e536ba736d5a46079f5a65a7285b /Misc
parented44dfa4c7dd03488da6e23c9901af7185af8302 (diff)
downloadcpython-476279f18b1bbcc5939f6bb7a10dd937c933cfb3.zip
cpython-476279f18b1bbcc5939f6bb7a10dd937c933cfb3.tar.gz
cpython-476279f18b1bbcc5939f6bb7a10dd937c933cfb3.tar.bz2
Issue #7632: Fix a serious wrong output bug for string -> float conversion.
Also remove some now unused variables, and add comments clarifying the possible outputs of the parsing section of _Py_dg_strtod. Thanks Eric Smith for reviewing.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 6 insertions, 4 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6b00689..da480af 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,10 +16,12 @@ Core and Builtins
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search. Patch by Florent Xicluna.
-- Issue #7632: Fix a crash in dtoa.c that occurred in debug builds
- when parsing certain long numeric strings corresponding to subnormal
- values. Also fix a number of bugs in dtoa.c that could lead to
- incorrectly rounded results when converting strings to floats.
+- Issue #7632: Fix various str -> float conversion bugs present in 2.7
+ alpha 2, including: (1) a serious 'wrong output' bug that could
+ occur for long (> 40 digit) input strings, (2) a crash in dtoa.c
+ that occurred in debug builds when parsing certain long numeric
+ strings corresponding to subnormal values, and (3) a number of flaws
+ that could lead to incorrectly rounded results.
- Issue #7319, #7770: Silence DeprecationWarning by default when -3 is not
used.