[Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 3

MRAB python at mrabarnett.plus.com
Thu Mar 27 18:31:55 CET 2014


On 2014-03-27 15:58, Ethan Furman wrote:
> On 03/27/2014 04:42 AM, Nick Coghlan wrote:
>>
>> I also seem to recall Guido saying he liked it [%a], which flipped the
>> discussion from "do we have a good rationale for including it?" to "do
>> we have a good rationale for the BDFL to ignore his instincts?".
>> However, it would be up to Guido to confirm that recollection, and if
>> "Guido likes it" is part of the reason for inclusion of the %a code,
>> the PEP should mention that explicitly.
>
> I checked Guido's posts (Subject contains PEP 461, From contains guido) and did not see anything to that effect.
>
Date: Mon, 13 Jan 2014 12:09:23 -0800
Subject: Re: [Python-Dev] PEP 460 reboot

"""If we have %b for strictly interpolating bytes, I'm fine with adding
%a for calling ascii() on the argument and then interpolating the
result after ASCII-encoding it."""



More information about the Python-Dev mailing list