diff options
author | Eric Smith <eric@trueblade.com> | 2009-11-29 17:40:57 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-11-29 17:40:57 (GMT) |
commit | c4ab8339e9a966d9d8e601531489a5436d197f47 (patch) | |
tree | 3fb5a2fd6a2cd465bb376d864e3e6ee65d22eb31 /Misc | |
parent | ccc690d650f0b784c5d0445d0c34d372d2d24ec3 (diff) | |
download | cpython-c4ab8339e9a966d9d8e601531489a5436d197f47.zip cpython-c4ab8339e9a966d9d8e601531489a5436d197f47.tar.gz cpython-c4ab8339e9a966d9d8e601531489a5436d197f47.tar.bz2 |
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
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 ----------------- +- Issue #3382: 'F' formatting for float and complex now convert the + result to upper case. This only affects 'inf' and 'nan', since 'f' + no longer converts to 'g' for large values. + - Remove switch from "%f" formatting to "%g" formatting for floats larger than 1e50 in absolute value. |