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-December/040555.html below:

[Python-Dev] Re: "groupby" iterator

[Python-Dev] Re: "groupby" iterator [Python-Dev] Re: "groupby" iteratorGuido van Rossum guido at python.org
Mon Dec 1 11:18:20 EST 2003
> P.S.  I'm leaning toward Alex's suggested argument order.  Having a
> default identity function is too attractive to pass up.  So the choice
> is between a style like map(None, s) or something closer to
> list.sorted(s, key=).   Though the latter is not consistent with other
> itertools, it wins in the beauty department and its similarity with the
> key= is a accurate, helpful analogy.

Good.  Have you thought about the name yet?  Will it be grouped() or
grouby()?

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

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