<div dir="ltr"><div><div>I'm mixed, because I see the good value, but I'm not able to guess the consequence of the interface change.<br><br></div>So doing your FutureWarning would allow to gatter some data about this, and if it seam to cause too much problem, we could cancel the change.<br>

<br>Also, in the case there is a few software that depend on the old behaviour, this will cause a crash(Except if they have a catch all Exception case), not bad result.<br><br></div><div>I think it is always hard to predict the consequence of interface change in NumPy. To help measure it, we could make/as people to contribute to a collection of software that use NumPy with a good tests suites. We could test interface change on them by running there tests suites to try to have a guess of the impact of those change. What do you think of that? I think it was already discussed on the mailing list, but not acted upon.<br>

</div><div><br></div>Fred<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 10:29 AM, Sebastian Berg <span dir="ltr"><<a href="mailto:sebastian@sipsolutions.net" target="_blank">sebastian@sipsolutions.net</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 Sat, 2013-07-13 at 11:28 -0400, <a href="mailto:josef.pktd@gmail.com">josef.pktd@gmail.com</a> wrote:<br>


> On Sat, Jul 13, 2013 at 9:14 AM, Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br>
</div><snip><br>
<div class="im">><br>
> I'm now +1 on the exception that Sebastian proposed.<br>
><br>
> I like consistency, and having a more straightforward mental model of<br>
> the numpy behavior for elementwise operations, that don't pretend<br>
> sometimes to be "python" (when I'm doing array math), like this<br>
><br>
<br>
</div>I am not sure what the result of this discussion is. As far as I see<br>
Benjamin and Frédéric were opposing and overall it seemed pretty mixed,<br>
so unless you two changed your mind or say that it was just a small<br>
personal preference I would drop it for now.<br>
I obviously think the current behaviour is inconsistent to buggy and am<br>
really only afraid of possibly breaking code out there. Which is why I<br>
think I maybe should first add a FutureWarning if we decide on changing<br>
it.<br>
<br>
Regards,<br>
<br>
Sebastian<br>
<div class="HOEnZb"><div class="h5"><br>
> >>> [1,2,3] < [1,2]<br>
> False<br>
> >>> [1,2,3] > [1,2]<br>
> True<br>
><br>
> Josef<br>
><br>
><br>
> ><br>
> > -n<br>
> > _______________________________________________<br>
> > NumPy-Discussion mailing list<br>
> > <a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
> > <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
><br>
<br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>