[Python-Dev] Adding any() and all()

Jeremy Hylton jhylton at gmail.com
Fri Mar 11 16:39:54 CET 2005


On Fri, 11 Mar 2005 07:19:56 -0800, Guido van Rossum
<gvanrossum at gmail.com> wrote:
> > Personally, I think Python has too many builtins already.
> 
> It has fewer than most dynamic languages; and remember that I'm
> trading product(), any(), all() for reduce(), map() and filter().
> There are others slated for disappearance, too.

I think I'd miss reduce, but I'd be happy to have it moved to an
extension module.  There's no need for reduce to be a builtin.  I'd be
very happy to have any and all around.

Jeremy


More information about the Python-Dev mailing list