[Python-Dev] format specification mini-language docs...

Eric Smith eric at trueblade.com
Tue Nov 25 13:38:28 CET 2008


Dino Viehland wrote:

<previously discussed cases deleted>
> Finally providing any sign character seems to cause +1.0#INF and friends to be returned instead of inf as is documented:
> 
>>>> 10e667.__format__('+')
> '+1.0#INF'
>>>> 10e667.__format__('')
> 'inf'
> 
> 
> Are these just doc bugs?  The inf issue is the only one that seems particularly weird to me.

I think the inf one is a bug. Would you mind opening a bug and assigning 
it to me? Thanks.

Eric.



More information about the Python-Dev mailing list