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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4