[issue28822] Fix indices handling in PyUnicode_FindChar
STINNER Victor
report at bugs.python.org
Tue Nov 29 12:15:27 EST 2016
STINNER Victor added the comment:
PyUnicode_FindChar-v2.patch LGTM with a minor comment on the review, but I would prefer that Serhiy also reviews it ;-)
Remaining question: what is the behaviour for direction=0, direction=100 or direction=-2? Maybe we can add a few unit tests for strange values of direction? (Not sure if it's worth it.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28822>
_______________________________________
More information about the Python-bugs-list
mailing list