Message321771
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. |
|
Date |
User |
Action |
Args |
2018-07-16 21:31:25 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, ncoghlan, docs@python |
2018-07-16 21:31:25 | terry.reedy | set | messageid: <1531776685.31.0.56676864532.issue34118@psf.upfronthosting.co.za> |
2018-07-16 21:31:25 | terry.reedy | link | issue34118 messages |
2018-07-16 21:31:25 | terry.reedy | create | |
|