[Python-ideas] Adding an optional function argument to all() and any() builtins

Raymond Hettinger raymond.hettinger at gmail.com
Mon Nov 22 03:52:35 CET 2010


On Nov 21, 2010, at 5:57 PM, Bruce Frederiksen wrote:

> There have been several times when I wished that any/all acted like or/and because I needed the offending value for further use...

This is such a trivial function.
Why not just roll your own and dump it in your personal utils?


Raymond


More information about the Python-ideas mailing list