[Python-Dev] PEP 460: allowing %d and %f and mojibake (original) (raw)

Kristján Valur Jónsson kristjan at ccpgames.com
Sun Jan 12 22:37:52 CET 2014


+1, even better.


From: Python-Dev [python-dev-bounces+kristjan=ccpgames.com at python.org] on behalf of Mark Shannon [mark at hotpy.org] Sent: Sunday, January 12, 2014 17:06 To: python-dev at python.org Subject: Re: [Python-Dev] PEP 460: allowing %d and %f and mojibake

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 better.



More information about the Python-Dev mailing list