A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.python.org/pipermail/python-dev/2000-July/006975.html below:

[Python-Dev] PEP 201 - Parallel iteration

[Python-Dev] PEP 201 - Parallel iteration [Python-Dev] PEP 201 - Parallel iterationBarry A. Warsaw bwarsaw@beopen.com
Wed, 19 Jul 2000 14:46:13 -0400 (EDT)
>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> Why are you using zip in this case? If you *know* that you are
    PP> going to get back 1-tuples then you must know that the input
    PP> is a single list (i.e. you aren't using "apply"). So why are
    PP> you using zip at all?

It was just an example, but I agree, you probably wouldn't use zip in
this situation.  My question is, why would you ever use zip with one
parameter?  To me, that's an argument for letting zip(a) return
1-tuples, not raising an exception.

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4