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

Mark Dickinson report at bugs.python.org
Fri Apr 17 01:39:11 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Here are my proposed tests for this---they're for percent formatting 
rather than format() formatting.  They conflict slightly with Daniel's 
tests, in that I think

format(float('inf'), '+')

should produce '+inf' rather than plain 'inf'.

----------
Added file: http://bugs.python.org/file13708/issue4482_tests.patch

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


More information about the Python-bugs-list mailing list