[Python-3000] Builtin iterator type

Fredrik Lundh fredrik at pythonware.com
Tue Nov 14 13:36:08 CET 2006


Jean-Paul Calderone wrote:

> Anyway, the proposal was in no way suggesting moving away from duck
> typing.  The new iter was to be a _wrapper_ around any existing
> iterator, not a base class for iterators.

the OP seems to think otherwise:

    The key points are:
        /.../
    3. Make this type a base for all other (existing and future) iterator
    types, e.g. xrange and generator.

</F> 





More information about the Python-3000 mailing list