Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

Refuse the temptation to hypergeneralize ;-)

Also refuse the temptation to double the size of the docs (more != better).

In the case of min/max, the pure python versions may add some value in showing 
that the first match is what is returned.  But the code will also be a bit 
convoluted because it needs paths for key-argument case and for the screwy 
interpretation of 1 arg vs multiple args.

The pure python code is there for any() and all() to show the early out feature 
and to suggest how you could roll-your-own if you want different behavior (such 
as returning the value of the first exception).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10029>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to