[Python-3000] PEP 3101 clarification requests

Eric Smith eric+python-dev at trueblade.com
Mon Aug 20 21:46:41 CEST 2007


Guido van Rossum wrote:
>> Converting to strings doesn't really buy you much, since we have the !s
>> specifier. But I think it's needed for backward compatibility with %
>> formatting.
> 
> Why? The conversion code can just generate !s:-20 instead of :-20s.

True enough.  I'll take it out, too.

Talin:  On your list of to-do items for the PEP, could you add that the 
only conversions for the standard conversion specifiers are int <-> float?

Thanks.

Eric.



More information about the Python-3000 mailing list