[Python-Dev] PEP 460 reboot

Daniel Holth dholth at gmail.com
Mon Jan 13 21:15:34 CET 2014


On Mon, Jan 13, 2014 at 3:11 PM, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
> On January 13, 2014 at 3:08:43 PM, Daniel Holth (dholth at gmail.com) wrote:
>>
>> I see it now. b"foo%sbar" % b'baz' should also expand to b"foob'foo'bar"
>>
>> Instead of "%b" could "%j" mean "I should have used + or join()
>> here
>> but was too lazy" and work on str too?
>
> Isn’t this just error prone? Since it’s a new format character, many,
> probably, would write %s by mistake. And, besides, there was no %j
> in python2.

Merely a flesh wound.


More information about the Python-Dev mailing list