summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-11-23 18:46:41 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-11-23 18:46:41 (GMT)
commit18cfada1eac3a798fffa658fc67582a450b5a7e6 (patch)
tree09b233b73487c2c63ebeb94282265eef692e2235 /Misc
parent5c456e6f4571fec64a98e28e7e316972f35d19fc (diff)
downloadcpython-18cfada1eac3a798fffa658fc67582a450b5a7e6.zip
cpython-18cfada1eac3a798fffa658fc67582a450b5a7e6.tar.gz
cpython-18cfada1eac3a798fffa658fc67582a450b5a7e6.tar.bz2
Remove restriction on precision when formatting floats. This is the
first step towards removing the %f -> %g switch (see issues 7117, 5859).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 356e3a1..58b7057 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- Remove restrictions on precision when formatting floats. E.g.,
+ "%.120g" % 1e-100 used to raise OverflowError, but now gives the
+ requested 120 significant digits instead.
+
- Add Py3k warnings for parameter names in parenthesis.
- Issue #7362: Give a proper error message for def f((x)=3): pass.