Message186993
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" :-) |
|
Date |
User |
Action |
Args |
2013-04-15 14:11:03 | pitrou | set | recipients:
+ pitrou, fdrake, Pam.McANulty |
2013-04-15 14:11:03 | pitrou | set | messageid: <1366035063.73.0.0456808165084.issue17530@psf.upfronthosting.co.za> |
2013-04-15 14:11:03 | pitrou | link | issue17530 messages |
2013-04-15 14:11:03 | pitrou | create | |
|