generator/coroutine terminology

Marko Rauhamaa marko at pacujo.net
Sat Mar 14 18:15:32 EDT 2015


Oscar Benjamin <oscar.j.benjamin at gmail.com>:

> A generator is a special type of iterator that results from generator
> functions and generator expressions.

Is it necessary/useful for a Python application programmer to be
conscious of the different types of iterator? What mistaken usage could
arise if the application just treated all iterators as, well, iterators?


Marko



More information about the Python-list mailing list