Terry J. Reedy <tjre...@udel.edu> added the comment:

I was forgetting that this is a Python, not CPython doc.  So I agree to not tag 
the iterator classes as such.  For all I know, PyPy might use (compiled?) 
generator functions.  And if we were to allow use of Cython, say, for CPython, 
we might  try that.

How about a note under the index table:

Functions that must be classes are tagged *class*.  The iterator functions 
enumerate, filter, map, reversed, and zip are classes in CPython, but they are 
not tagged because they could be implemented as generator functions.

Or we could add an *iterator* tag.

----------

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

Reply via email to