A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006825.html below:

[Python-Dev] PEP 201 - Parallel iteration

[Python-Dev] PEP 201 - Parallel iterationThomas Wouters thomas@xs4all.net
Mon, 17 Jul 2000 21:38:04 +0200
On Mon, Jul 17, 2000 at 03:06:13PM -0400, Barry A. Warsaw wrote:

> There's still the open issue of what zip(sequence_a) should return.

I'd vote for [(a,), (b,), (c,)], that is, still return tuples. It's
consistent with the use in the case of multiple sequences. 

We already have map(None, sequence_a) that does it the non-obvious way ;) In
the map case it's easily explained: it turns the sequence into a list. In
the case of zip(), that isn't necessary (and not the point of the function,
anyway.)

I-still-wish-it-were-marry()-ly y'rs, ;)
-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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