[Python-3000] Builtin iterator type

Jean-Paul Calderone exarkun at divmod.com
Tue Nov 14 00:15:38 CET 2006


On Mon, 13 Nov 2006 14:51:29 PST, Bill Janssen <janssen at parc.com> wrote:
>> this appears to be a worrysome trend away from duck typing
>
>Duck typing is a seriously bad idea, forced on Python by the now
>obsolete split between built-in types and user-defined types.

Wow.  Just wow.

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.

Jean-Paul


More information about the Python-3000 mailing list