[Python-Dev] zip() in Py2.4 (original) (raw)
Barry Warsaw barry@python.org
30 Jul 2003 10:20:11 -0400
- Previous message: [Python-Dev] zip() in Py2.4
- Next message: [Python-Dev] zip() in Py2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2003-07-30 at 09:00, Raymond Hettinger wrote:
Currently, zip() with no arguments raises an exception. Does anyone have objections to my having it return an empty list instead?
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).
-Barry
- Previous message: [Python-Dev] zip() in Py2.4
- Next message: [Python-Dev] zip() in Py2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]