[docs] [issue7940] re.finditer and re.findall should support negative end positions
Serhiy Storchaka
report at bugs.python.org
Mon Sep 9 12:55:47 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Note that changing the current behavior is a breaking change. For example someone can use `pattern.findall(text, curpos-50, curpos+50)` to search in the range ±50 characters from the current position. If negative positions change meaning, this will break a code for curpos < 50.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue7940>
_______________________________________
More information about the docs
mailing list