A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022106.html below:

[Python-Dev] Re: PEP 279

[Python-Dev] Re: PEP 279Guido van Rossum guido@python.org
Tue, 02 Apr 2002 08:36:45 -0500
[David Abrahams]
> I missed what this function does,

x(seq) returns [(0, seq[0]), (1, seq[1]), ...]

> but:
> 
>     "indexer" is a noun. I like it provided the function returns an
> indexer(). Otherwise, I'm not too sure.

Yeah, that's my main problem with it.

>     "enumerate()" sounds like it returns a list of the elements, or is
> an iterator interface over the elements. Looking it up at
>     http://www.m-w.com/cgi-bin/dictionary
> shows that it is dangerously close to meaning what we want to say. I say
> "dangerously" because it *doesn't* mean what we want to say, and I think
> a close-but-not-quite meaning is probably much worse than calling it
> wafflebird.

I don't know.

> unfortunately, numerate and itemize both mean about the same...

Numerate is obscure, but itemize() has potential!

--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