summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-05-01 15:37:04 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-05-01 15:37:04 (GMT)
commit33841c34896834daa8ee38d3ff54d7800b9723c2 (patch)
tree1de0e45e427cc30b610fb4813e201ddef264e251 /Misc
parentf489caf5daa2b0f3a1bd951b585c834aab1a54c6 (diff)
downloadcpython-33841c34896834daa8ee38d3ff54d7800b9723c2.zip
cpython-33841c34896834daa8ee38d3ff54d7800b9723c2.tar.gz
cpython-33841c34896834daa8ee38d3ff54d7800b9723c2.tar.bz2
Issue #5859: Remove '%f' to '%g' formatting switch for large floats.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 4 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3e8f5e6..d6ea209 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,8 +12,10 @@ What's New in Python 3.1 beta 1?
Core and Builtins
-----------------
-- Issue #5859: Remove length restrictions for float formatting:
- '%.67f' % 12.34 and '%.120e' % 12.34 no longer raise an exception.
+- Issue #5859: Remove switch from '%f' to '%g'-style formatting for
+ floats with absolute value over 1e50. Also remove length
+ restrictions for float formatting: '%.67f' % 12.34 and '%.120e' %
+ 12.34 no longer raise an exception.
- Issue #1588: Add complex.__format__. For example,
format(complex(1, 2./3), '.5') now produces a sensible result.