diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-05-01 11:42:00 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-05-01 11:42:00 (GMT) |
commit | f489caf5daa2b0f3a1bd951b585c834aab1a54c6 (patch) | |
tree | f57e0339acc0f5b702743d438738ad2f0d2aeba7 /Misc/NEWS | |
parent | fb526ac34af13116733fcd0a306016e253d90c08 (diff) | |
download | cpython-f489caf5daa2b0f3a1bd951b585c834aab1a54c6.zip cpython-f489caf5daa2b0f3a1bd951b585c834aab1a54c6.tar.gz cpython-f489caf5daa2b0f3a1bd951b585c834aab1a54c6.tar.bz2 |
Issue #5859: Remove use of fixed-length buffers for float formatting
in unicodeobject.c and the fallback version of PyOS_double_to_string.
As a result, operations like '%.120e' % 12.34 no longer raise an
exception.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ 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 #1588: Add complex.__format__. For example, format(complex(1, 2./3), '.5') now produces a sensible result. |