[issue9529] Converge re.findall and re.finditer

MizardX report at bugs.python.org
Sat Aug 7 14:28:56 CEST 2010


MizardX <mizardx at gmail.com> added the comment:

I don't think (1) would break any code. finditer() would still generate match-objects.

The only time you would be discard the match-object, is if you try to do a destructuring bind in, e.g. a loop. This shouldn't be unexpected for the programmer.

----------

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


More information about the Python-bugs-list mailing list