[Python-Dev] iterzip()

Barry A. Warsaw barry@zope.com
Sun, 28 Apr 2002 18:45:04 -0400


>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> Hm, I'm not particularly enamored of the idea of adding
    GvR> 'iter' versions of everything under the sun.  I wish zip()
    GvR> could've been an interator from the start, but now that it
    GvR> isn't, I don't think it's such a big deal.  (An iterator
    GvR> version is easily written as a generator.)

Of course, zip() wasn't implemented originally as an iterator because
it pre-dated them.  I agree, it's probably not worth changing it.

-Barry