[issue4482] 10e667.__format__('+') should return 'inf'

Eric Smith report at bugs.python.org
Sun Apr 12 18:24:42 CEST 2009


Eric Smith <eric at trueblade.com> added the comment:

Actually this isn't quite a duplicate of 4799, but it's close. Any fix
to this issue will also address 4799's original report:

> On windows, with python 2.6,  s = '%s' % float('inf') is 'inf',
> but s ='%f' % float('inf') is equal to '1.#INF'.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4482>
_______________________________________


More information about the Python-bugs-list mailing list