Message183082
bytearray has many methods that return a *new* bytearray object rather than applying the transformation to modify the bytearray in place. Given that one use of bytearray's is to avoid making extra copies... There should be in-place variants of the following methods:
ljust
lower
lstrip
rjust
rstrip
strip
swapcase
title
translate
upper
especially so for the methods that don't change the length or move data around such as translate, lower, upper, swapcase and title. |
|
Date |
User |
Action |
Args |
2013-02-26 20:28:43 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
2013-02-26 20:28:43 | gregory.p.smith | set | messageid: <1361910523.06.0.491264384267.issue17301@psf.upfronthosting.co.za> |
2013-02-26 20:28:43 | gregory.p.smith | link | issue17301 messages |
2013-02-26 20:28:42 | gregory.p.smith | create | |
|