Message264461
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? |
|
Date |
User |
Action |
Args |
2016-04-29 05:52:12 | xiang.zhang | set | recipients:
+ xiang.zhang, twouters, berker.peksag, serhiy.storchaka, ztane |
2016-04-29 05:52:12 | xiang.zhang | set | messageid: <1461909132.5.0.785927219547.issue26358@psf.upfronthosting.co.za> |
2016-04-29 05:52:12 | xiang.zhang | link | issue26358 messages |
2016-04-29 05:52:12 | xiang.zhang | create | |
|