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/2003-November/040540.html below:

[Python-Dev] Re: "groupby" iterator

[Python-Dev] Re: "groupby" iterator [Python-Dev] Re: "groupby" iteratorDavid Eppstein eppstein at ics.uci.edu
Sun Nov 30 20:01:20 EST 2003
In article 
<200311301650.hAUGofH28925 at c-24-5-183-134.client.comcast.net>,
 Guido van Rossum <guido at python.org> wrote:

> But I don't think there's a good use case
> for what he wants to do instead: save enough state so that the
> subiterators can be used in arbitrary order.  An application
> that saves the subiterators for later will end up saving a copy of
> everything, so it might as well be written so explicitly

I don't have a good explicit use case in mind, but my objective is to be 
able to use itertools-like functionals without having to pay much 
attention to which ones iterate through their arguments immediately and 
which ones defer the iteration until later.

-- 
David Eppstein                      http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science


More information about the Python-Dev mailing list

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