diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-01-16 18:12:46 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-01-16 18:12:46 (GMT) |
commit | 11f657843fdc8bf28a3c86595a5ec12be7a9bdf3 (patch) | |
tree | d332fe37ca1e9efdb147d3d080276dee16fe2521 /Misc | |
parent | 27f9eaa62f2d3fb04a988d7b689e8d4f9e8551ab (diff) | |
download | cpython-11f657843fdc8bf28a3c86595a5ec12be7a9bdf3.zip cpython-11f657843fdc8bf28a3c86595a5ec12be7a9bdf3.tar.gz cpython-11f657843fdc8bf28a3c86595a5ec12be7a9bdf3.tar.bz2 |
Merged revisions 77535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77535 | mark.dickinson | 2010-01-16 18:10:25 +0000 (Sat, 16 Jan 2010) | 21 lines
Merged revisions 77519,77530,77533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines
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.
........
r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines
Issue #7632: Fix one more case of incorrect rounding for str -> float
conversion (see bug 5 in the issue tracker).
........
r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line
Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long. See also r77421.
........
................
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -12,10 +12,12 @@ What's New in Python 3.1.2? Core and Builtins ----------------- -- 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 #7604: Deleting an unset slotted attribute did not raise an AttributeError. |