Author pitrou
Recipients Pam.McANulty, fdrake, pitrou
Date 2013-04-15.14:11:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366035063.73.0.0456808165084.issue17530@psf.upfronthosting.co.za>
In-reply-to
Content
I don't understand why you say that "bytes literals require a continuation character":

>>> (b"x"
...  b"y")
b'xy'
>>> [b"x"
...  b"y"]
[b'xy']

I think the "len caching" is a misoptimization, it's useless here (most CPU time will be sent creating and wrapping the representation).
Also perhaps it would be nice to refactor things a bit, since we have both _str_parts and _bytes_parts used in exactly the same way (but that can also be done later).

As for the doc, the example would probably deserve to be a bit more "meaningful" :-)
History
Date User Action Args
2013-04-15 14:11:03pitrousetrecipients: + pitrou, fdrake, Pam.McANulty
2013-04-15 14:11:03pitrousetmessageid: <1366035063.73.0.0456808165084.issue17530@psf.upfronthosting.co.za>
2013-04-15 14:11:03pitroulinkissue17530 messages
2013-04-15 14:11:03pitroucreate