Author py.user
Recipients py.user, r.david.murray
Date 2011-06-21.23:46:01
SpamBayes Score 0.000718226
Marked as misclassified No
Message-id <1308699962.51.0.664691351711.issue12380@psf.upfronthosting.co.za>
In-reply-to
Content
> A bytearray is for working with mutable data.  We don't support using > it in all places that the non-mutable data types can be used.

>>> bytearray(b'abcd').strip(bytearray(b'da'))
bytearray(b'bc')
>>>

.translate, .find, .partition, ...

>>> bytearray(b'.').join((bytearray(b'a'), bytearray(b'b')))
bytearray(b'a.b')
>>> bytearray(b'.').join((b'a', b'b'))
bytearray(b'a.b')
>>>

all these methods could use only bytes objects
History
Date User Action Args
2011-06-21 23:46:02py.usersetrecipients: + py.user, r.david.murray
2011-06-21 23:46:02py.usersetmessageid: <1308699962.51.0.664691351711.issue12380@psf.upfronthosting.co.za>
2011-06-21 23:46:01py.userlinkissue12380 messages
2011-06-21 23:46:01py.usercreate