[Python-Dev] zip() in Py2.4

Moore, Paul Paul.Moore@atosorigin.com
Wed, 30 Jul 2003 15:31:15 +0100


From: Barry Warsaw [mailto:barry@python.org]
> Raymond, I remember that we made an explicit decision for zero arg =
zip()
> to raise an exception, but I don't remember what the rationale was.  =
Can
> you go back into the archives and see if you can find that discussion =
(I
> believe zip() predates the peps).

It's PEP 201, and that contains a statement that Guido pronounced
explicitly on 0-arg zip producing an exception. Sadly, there's no
rationale given (but Guido doesn't need one :-))

Paul.