[Python-Dev] Re: PEP 279
Guido van Rossum
Tue, 02 Apr 2002 08:36:45 -0500
> I missed what this function does,
x(seq) returns [(0, seq), (1, seq), ...]
> "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
> 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
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/)