[Python-Dev] PEP 460: allowing %d and %f and mojibake
breamoreboy at yahoo.co.uk
Sun Jan 12 18:23:00 CET 2014
On 12/01/2014 17:06, Mark Shannon wrote:
> On 12/01/14 16:52, Kristján Valur Jónsson wrote:
>> Now you're just splitting hairs, Nick.
>> An explicit operator, %s, _defined_ to be "encode a string object using
>> strict ascii",
> I don't like this because '%s' reads to me as "insert *string* here".
> I think '%a' which reads as "encode as ASCII and insert here" would be
I entirely agree. This would also parallel the conversion flags given
I quote "Three conversion flags are currently supported: '!s' which
calls str() on the value, '!r' which calls repr() and '!a' which calls
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
More information about the Python-Dev