[Python-Dev] PEP 460 reboot (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Mon Jan 13 21:11:37 CET 2014
- Previous message: [Python-Dev] PEP 460 reboot
- Next message: [Python-Dev] PEP 460 reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Yury
- Previous message: [Python-Dev] PEP 460 reboot
- Next message: [Python-Dev] PEP 460 reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]