[Python-Dev] Single- vs. Multi-pass iterability

Aahz aahz@pythoncraft.com
Fri, 19 Jul 2002 14:29:22 -0400


On Fri, Jul 19, 2002, Paul Svensson wrote:
>
> Pending the pain of the yet unseen migration plan, I'm
> +1 on removing __iter__ from all core iterators
> +1 on renaming next() to __next__()
> +1 on presenting file objects as iterators rather than iterables
> +0 on the new 'for x from y' syntax

I'd vote this way:

-0 on removing __iter__
+1 on renaming next() to __next__()
+0 on presenting file objects as iterators
+1 on finishing up the patch that fixes the xreadlines() mess
-1 on for x from y
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/