diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-11 23:22:22 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-11 23:22:22 +0200 |
commit | 6b562366239b4bbab19d40b30fe5e22fe51adb95 (patch) | |
tree | 0d3f667948be5bcb497a7a4660798c2e412ec682 /Python/errors.c | |
parent | 67fae65932f90701bd15cbb29943a84d1f8f5f94 (diff) | |
download | cpython-6b562366239b4bbab19d40b30fe5e22fe51adb95.tar.gz |
Fix fastsearch for UCS2 and UCS4
* If needle is 0, try (p[0] >> 16) & 0xff for UCS4
* Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions