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

Victor Stinner victor.stinner at gmail.com
Thu Mar 27 11:47:56 CET 2014


The PEP 461 looks good to me. It's a nice addition to Python 3.5 and
the PEP is well defined.

I can help to implement it. Maybe, it would be nice to provide an
implementation as a third-party party module on PyPI for Python
2.6-3.4.

Note: I fixed a typo in your PEP (reST syntax).

Victor

2014-03-26 23:47 GMT+01:00 Ethan Furman <ethan at stoneleaf.us>:
>> This one is wrong:
>>
>>>>> repr(b'abc').encode('ascii', 'backslashreplace')
>>
>> b"b'abc'"
>
>
> Fixed, thanks.


More information about the Python-Dev mailing list