[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5 (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Jan 10 10:06:42 CET 2014
- Previous message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Next message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 10 Jan 2014 11:32:05 +1000 Nick Coghlan <ncoghlan at gmail.com> wrote:
> > It's consistent with bytearray.join's behaviour: > > >>> x = bytearray() > >>> x.join([b"abc"]) > bytearray(b'abc') > >>> x > bytearray(b'')
Yeah, I guess I'm OK with us being consistent on that one. It's still weird, but also clearly useful :) Will the new binary format ever call format? I assume not, but it's probably best to make that absolutely explicit in the PEP.
Not indeed. I'll add that to the PEP, thanks.
cheers
Antoine.
- Previous message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Next message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]