[issue17577] Add lookahead/peek wrapper to itertools
Raymond Hettinger
report at bugs.python.org
Wed Nov 23 01:43:14 EST 2016
Raymond Hettinger added the comment:
This doesn't seem to have gained any traction and I haven't interest in the subject for years. Marking this as closed. If the topic takes on a new life, this can be reopened and we can revisit the idea.
I don't think it would be hard to patch itertools.tee() to support indexing modeled on the patch above, but it is unclear whether it would be useful in practice or whether it would just be an attractive nuisance. (Note, we added copy support to tee() based on similar requests however this feature turned out to be ignored in practice).
----------
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17577>
_______________________________________
More information about the Python-bugs-list
mailing list