<br><br><div class="gmail_quote">On Tue, Jan 31, 2012 at 4:22 PM, Robert Kern <span dir="ltr"><<a href="mailto:robert.kern@gmail.com">robert.kern@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Tue, Jan 31, 2012 at 22:17, Travis Oliphant <<a href="mailto:travis@continuum.io">travis@continuum.io</a>> wrote:<br>
> I also agree that an exception should be raised at the very least.<br>
><br>
> It might also be possible to make the NumPy any, all, and sum functions<br>
> behave like the builtins when given a generator.  It seems worth exploring<br>
> at least.<br>
<br>
</div>I would rather we deprecate the all() and any() functions in favor of<br>
the alltrue() and sometrue() aliases that date back to Numeric.<br></blockquote><div><br><br>+1  (Maybe 'anytrue' for consistency?  (And a royal blue bike shed?))<br><br>Warren<br><br></div></div>