[Python-3000] Parallel iteration syntax

Ian Bicking ianb at colorstudy.com
Tue Mar 28 20:22:31 CEST 2006


Guido van Rossum wrote:
> The proposed syntax doesn't quite jive with my guts, and the issue of
> "what to do if they are of unequal length" is a good one, which is
> better solved by being explicit and using zip (== izip).

Is zip() going to be equivalent to izip(), or will it be a view?  I vote 
for view.  xrange() does not produce an iterator, so there is some 
precedence that we not replace list-constructing-builtins with 
iterator-constructing-builtins.

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the Python-3000 mailing list