[Python-Dev] PEP 460 reboot (original) (raw)

Yury Selivanov yselivanov.ml at gmail.com
Mon Jan 13 21:11:37 CET 2014


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.



More information about the Python-Dev mailing list