summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-05-11 15:45:15 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-05-11 15:45:15 (GMT)
commitd1ec8b2bda96ada31af086262392c19712d114be (patch)
tree800e03193eb1378f66a690f19d791b35b3355763 /Misc
parent3bd31a266b42b66f59a3dd161aea34e3441663ad (diff)
downloadcpython-d1ec8b2bda96ada31af086262392c19712d114be.zip
cpython-d1ec8b2bda96ada31af086262392c19712d114be.tar.gz
cpython-d1ec8b2bda96ada31af086262392c19712d114be.tar.bz2
Merged revisions 72564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72564 | mark.dickinson | 2009-05-11 16:33:08 +0100 (Mon, 11 May 2009) | 2 lines Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c531f1e..9a5e441 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 3.1 release candiate 1?
Core and Builtins
-----------------
+- Issue #5981: Fix three minor inf/nan issues in float.fromhex:
+ (1) inf and nan strings with trailing whitespace were incorrectly
+ rejected; (2) parsing of strings representing infinities and nans
+ was locale aware; and (3) the interpretation of fromhex('-nan')
+ didn't match that of float('-nan').
+
Library
-------