[Python-Dev] PEP 201 - Parallel iteration

Paul Prescod paul@prescod.net
Mon, 17 Jul 2000 18:10:53 -0500


I would say that you should make the ambiguous single-param case
illegal.

For one of the examples you say:

>          for i in zip(a):

Why would you ever do that??? The only way that would make sense to me
if 

zip([[1],[2]])==zip([1],[2]), which I would dislike. 

Use zip(*[[1],[2]]) instead.
-- 
 Paul Prescod - Not encumbered by corporate consensus
It's difficult to extract sense from strings, but they're the only
communication coin we can count on. 
	- http://www.cs.yale.edu/~perlis-alan/quotes.html