10 Jan
2014
10 Jan
'14
9:06 a.m.
On Fri, 10 Jan 2014 11:32:05 +1000 Nick Coghlan <ncoghlan@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.