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

Ethan Furman ethan at stoneleaf.us
Wed Mar 26 23:47:05 CET 2014


On 03/26/2014 02:41 PM, Victor Stinner wrote:

2014-03-26 15:35 GMT+01:00 Ethan Furman <ethan at stoneleaf.us>:

------------------------------------------------------------------------------- Examples::

>>> b'%a' % 3.14 b'3.14' >>> b'%a' % b'abc' b'abc' This one is wrong:

repr(b'abc').encode('ascii', 'backslashreplace') b"b'abc'"

Fixed, thanks.

-- Ethan



More information about the Python-Dev mailing list