<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 11, 2015 at 2:53 PM, Alan G Isaac <span dir="ltr"><<a href="mailto:alan.isaac@gmail.com" target="_blank">alan.isaac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I agree that where `@` and `dot` differ in behavior, this should be clearly documented.<br>
I would hope that the behavior of `dot` would not change.</blockquote><div><br></div><div>Even if np.dot never changes (and indeed, perhaps it should not), issuing these warnings seems like a good idea to me, once we have @ implemented with the new behavior (and the @ operator backported from Python <3.5 as a numpy function).</div><div><br></div><div>I expect that this warning would serve the useful purpose of reminding users writing code intended to be used on earlier versions of numpy/python that @ and np.dot don't work exactly the same way. As Nathaniel already mentioned, it is quite straightforward to implement the "outer product" behavior using the new @ behavior, so it will not be much of a hassle to update code to remove the warning.<br></div><div><br></div><div>Stephan</div></div></div></div>