[issue28822] Fix indices handling in PyUnicode_FindChar

Xiang Zhang report at bugs.python.org
Tue Nov 29 12:29:52 EST 2016


Xiang Zhang added the comment:

> 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.)

It's not documented so I also doubt it. Expect Serhiy's comment.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28822>
_______________________________________


More information about the Python-bugs-list mailing list