diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-11-23 18:46:41 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-11-23 18:46:41 (GMT) |
commit | 18cfada1eac3a798fffa658fc67582a450b5a7e6 (patch) | |
tree | 09b233b73487c2c63ebeb94282265eef692e2235 /Misc | |
parent | 5c456e6f4571fec64a98e28e7e316972f35d19fc (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |