Adam Olsen <[email protected]> added the comment:
On Sun, Jan 10, 2010 at 14:59, Marc-Andre Lemburg
<[email protected]> wrote:
> BTW, I'm not aware of any changes to the PyUnicodeObject by some
> fastsearch implementation. Could you point me to this ?
/* We allocate one more byte to make sure the string is Ux0000 terminated.
The overallocation is also used by fastsearch, which assumes that it's
safe to look at str[length] (without making any assumptions about what
it contains). */
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com