On Fri, 10 Jan 2014 11:32:05 +1000 Nick Coghlan <ncogh...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com