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 xiang.zhang
Recipients berker.peksag, serhiy.storchaka, twouters, xiang.zhang, ztane
Date 2016-04-29.05:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461909132.5.0.785927219547.issue26358@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to write a patch to make mmap behave like bytearray more. Making iteration returns int is easy. But I am trapped in the contains operation. To support operation like b'aa' in b'aabbcc', we have to do a str in str search. I don't find any portable way except writing my own. bytes and bytearray use stringlib_find, but that is not reachable in a c module. Any advice?
History
Date User Action Args
2016-04-29 05:52:12xiang.zhangsetrecipients: + xiang.zhang, twouters, berker.peksag, serhiy.storchaka, ztane
2016-04-29 05:52:12xiang.zhangsetmessageid: <1461909132.5.0.785927219547.issue26358@psf.upfronthosting.co.za>
2016-04-29 05:52:12xiang.zhanglinkissue26358 messages
2016-04-29 05:52:12xiang.zhangcreate