This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrewmcnamara
Recipients andrewmcnamara, gvanrossum
Date 2008-09-02.23:38:49
SpamBayes Score 1.1179673e-06
Marked as misclassified No
Message-id <1220398730.91.0.545529283735.issue3756@psf.upfronthosting.co.za>
In-reply-to
Content
Will do, although I'm slightly concerned that my "bytes" version of the 
function is about 50% slower than the "str" version. I can see why, I 
just can't think of a way to do it any faster. There's an inherent 
asymetry in bytes type that didn't exist before: b''.join(list(b'abc')) 
does not work. Of course, this does work: bytes(list(b'abc')), but the 
bytes constructor only accepts ints, not bytes. I'd like to see either 
the join method accept ints as well as bytes, or the bytes ctor accept 
bytes as well as ints. Or something.
History
Date User Action Args
2008-09-02 23:38:51andrewmcnamarasetrecipients: + andrewmcnamara, gvanrossum
2008-09-02 23:38:50andrewmcnamarasetmessageid: <1220398730.91.0.545529283735.issue3756@psf.upfronthosting.co.za>
2008-09-02 23:38:50andrewmcnamaralinkissue3756 messages
2008-09-02 23:38:49andrewmcnamaracreate