This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, ncoghlan, rhettinger, terry.reedy
Date 2018-07-16.21:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531776685.31.0.56676864532.issue34118@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-07-16 21:31:25terry.reedysetrecipients: + terry.reedy, rhettinger, ncoghlan, docs@python
2018-07-16 21:31:25terry.reedysetmessageid: <1531776685.31.0.56676864532.issue34118@psf.upfronthosting.co.za>
2018-07-16 21:31:25terry.reedylinkissue34118 messages
2018-07-16 21:31:25terry.reedycreate