[Python-Dev] PEP 201 - Parallel iteration

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Wed, 19 Jul 2000 07:37:29 +0300 (IDT)


On Wed, 19 Jul 2000, Barry A. Warsaw wrote:

> >>>>> "MZ" == Moshe Zadka <moshez@math.huji.ac.il> writes:
> 
>     MZ> I'm +1 on that. One thing that bugs me is that we're adding a
>     MZ> builtin type.  Why not stick with the Python implementation?
> 
> I've been thinking a little bit about the other generators, especially
> irange().  I wonder if we shouldn't just be putting zip() and friends
> in their own Python module and not make them builtins?

I'm +1.

def-irange(seq):-zip(xrange(len(seq)), seq)-ly y'rs, Z.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez