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/2002-May/023864.html below:

[Python-Dev] iterzip()

[Python-Dev] iterzip() [Python-Dev] iterzip()Guido van Rossum guido@python.org
Wed, 01 May 2002 09:16:08 -0400
[Barry]
> > I'd much rather see a patch that just changed zip() to be an iterator
> > instead of adding an iterzip().

[Greg E]
> Wouldn't it be better as a lazy sequence a la xrange()
> that produces an iterator, rather than being an
> iterator itself?

No, lazy sequences are a thing from the past, trying to do what
iterators are for.  (And yes, I know that a lazy sequence has
different semantics.)

--Guido van Rossum (home page: http://www.python.org/~guido/)




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