[Python-Dev] bytes & bytearray

Ethan Furman ethan at stoneleaf.us
Mon Jan 19 18:19:32 CET 2015


On 01/19/2015 09:01 AM, Eric V. Smith wrote:
> 
> I'd return a new copy (or, not implement it at all and let the default
> machinery call __mod__, and do the assignment). That's the least
> surprising to me, since the goal is to be compatible with 2.7's str
> %-formatting.

That certainly feels like the winning argument.  :)

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150119/031d6b55/attachment.sig>


More information about the Python-Dev mailing list