Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Restricting the returned position to be strictly larger than start would solve 
the problem with infinite loop and OOM. But this is a different issue.

----------

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

Reply via email to