[Python-Dev] "groupby" iterator
Guido van Rossum
guido at python.org
Mon Dec 1 11:15:20 EST 2003
> The chaining part, or the idea at all?
Sorry, I didn't even see the chaining idea, so it was the keyword
attribute instead of two different functions I disliked. The chaining
idea seems unnecessary, you can do this with a general currying
facility. (I'm not so keen on copying too many such ideas from Zope
in to Python -- together they feel more like a bag of clever tricks
than like a well-thought-out language.)
Anyway, it's all moot -- Raymond just added operator.itemgetter and
operator.attrgetter.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list