[Python-Dev] PEP 201 - Parallel iteration

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Tue, 18 Jul 2000 15:34:38 +0300 (IDT)

On Tue, 18 Jul 2000, Gordon McMillan wrote:

[about zip(a, pad=None) ]
> > > Obviously: [(1, None), (2, None), (3, None)]
> > 
> > Why?
> To be consistent.

But when there is only one list, all lists are of the same size, so the
pad argument is moot. (Consistent with all other cases where all lists are
the same size)

Or maybe we're talking about a different situation? Can you show a fake
Python session which demonstrates your point?

confused-ly y'rs, Z.
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.