diff options
author | Eric Smith <eric@trueblade.com> | 2009-05-06 13:08:15 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-05-06 13:08:15 (GMT) |
commit | 741191f17a921191355c1a67ca9f7fda08c3ae57 (patch) | |
tree | 2ead9e0086ce417631365543e133a789d9f75eeb /Misc | |
parent | 5776c1623c1d14b8624547db5755fec8d60fc8ed (diff) | |
download | cpython-741191f17a921191355c1a67ca9f7fda08c3ae57.zip cpython-741191f17a921191355c1a67ca9f7fda08c3ae57.tar.gz cpython-741191f17a921191355c1a67ca9f7fda08c3ae57.tar.bz2 |
Issue #3382. float 'F' formatting no longer maps to 'f'. This only affects nan and inf.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,10 @@ What's New in Python 3.1 beta 1? Core and Builtins ----------------- +- Issue #3382: float.__format__, complex.__format__, and %-formatting + no longer map 'F' to 'f'. Because of issue #5859 (below), this only + affects nan -> NAN and inf -> INF. + - Issue #5799: ntpath (ie, os.path on Windows) fully supports UNC pathnames in all operations, including splitdrive, split, etc. splitunc() now issues a PendingDeprecation warning. @@ -45,7 +49,7 @@ Core and Builtins restrictions for float formatting: '%.67f' % 12.34 and '%.120e' % 12.34 no longer raise an exception. -- Issue #1588: Add complex.__format__. For example, +- Issue #1588: Add complex.__format__. For example, format(complex(1, 2./3), '.5') now produces a sensible result. - Issue #5864: Fix empty format code formatting for floats so that it |