Author gregory.p.smith
Recipients gregory.p.smith
Date 2013-02-26.20:28:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361910523.06.0.491264384267.issue17301@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-02-26 20:28:43gregory.p.smithsetrecipients: + gregory.p.smith
2013-02-26 20:28:43gregory.p.smithsetmessageid: <1361910523.06.0.491264384267.issue17301@psf.upfronthosting.co.za>
2013-02-26 20:28:43gregory.p.smithlinkissue17301 messages
2013-02-26 20:28:42gregory.p.smithcreate