[issue14924] re.finditer() oddity

Ezio Melotti report at bugs.python.org
Sun May 27 12:07:08 CEST 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

All iterators are always true, since you can not know how many elements they will give you until you consume them.  This is generally known, however it doesn't seem to be well documented.

----------
assignee:  -> ezio.melotti
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed
versions: +Python 2.7, Python 3.3

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


More information about the Python-bugs-list mailing list