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 pitrou
Recipients benjamin.peterson, dw, hynek, kmike, pitrou, scoder, serhiy.storchaka, stutzbach
Date 2014-07-21.15:31:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405956662.32.0.783958171959.issue22003@psf.upfronthosting.co.za>
In-reply-to
Content
> Pretty sure this approach is broken. What about the alternative approach of specializing for Bytes?

That would certainly sound good enough, to optimize the common case.

Also, it would be nice if you could add some tests to the patch (e.g. to stress the bytearray case). Thank you!
History
Date User Action Args
2014-07-21 15:31:02pitrousetrecipients: + pitrou, scoder, benjamin.peterson, stutzbach, hynek, dw, serhiy.storchaka, kmike
2014-07-21 15:31:02pitrousetmessageid: <1405956662.32.0.783958171959.issue22003@psf.upfronthosting.co.za>
2014-07-21 15:31:02pitroulinkissue22003 messages
2014-07-21 15:31:02pitroucreate