STINNER Victor <victor.stin...@haypocalc.com> added the comment:

changeset:   72874:bfd3fcfb02f3
user:        Victor Stinner <victor.stin...@haypocalc.com>
date:        Tue Oct 11 23:22:22 2011 +0200
files:       Objects/stringlib/asciilib.h Objects/stringlib/fastsearch.h 
Objects/stringlib/stringdefs.h Objects/stringlib/ucs1lib.h Objects/stri
description:
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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to