<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 2, 2017 at 8:12 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@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 dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Jan 2, 2017 at 7:26 PM,  <span dir="ltr"><<a href="mailto:josef.pktd@gmail.com" target="_blank">josef.pktd@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 dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_7089184693417068755h5">On Mon, Jan 2, 2017 at 9:00 PM, Ralf Gommers <span dir="ltr"><<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@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 dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Jan 3, 2017 at 2:36 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@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 dir="ltr"><div><div>Hi All,<br><br>Just throwing this click bait out for discussion. Now that the `@` operator is available and things seem to be moving towards Python 3, especially in the classroom, we should consider the real possibility of deprecating the matrix type and later removing it. No doubt there are old scripts that require them, but older versions of numpy are available for those who need to run old scripts. <br><br></div>Thoughts?<br></div></div></blockquote><div><br></div></span><div>Clearly deprecate in the docs now, and warn only later imho. We can't warn before we have a good solution for scipy.sparse matrices, which have matrix semantics and return matrix instances.<span class="m_7089184693417068755m_-7945843940507171662HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_7089184693417068755m_-7945843940507171662HOEnZb"><font color="#888888"><div>Ralf<br></div></font></span></div></div></div></blockquote><div><br></div></div></div><div>How about dropping python 2 support at the same time, then we can all be in a @ world.<br><br></div></div></div></div></blockquote><div><br></div></span><div>The "@" operator works with matrices already, what causes problems is the combination  of matrices with 1-D arrays. That can be fixed, I think. The big problem is probably the lack of "@" in Python 2.7. I wonder if there is any chance of getting it backported to 2.7 before support is dropped in 2020? I expect it would be a fight, but I also suspect it would not be difficult to do if the proposal was accepted. Then at some future date sparse could simply start returning arrays.<br></div></div></div></div></blockquote><div><br></div><div>Hmm, matrix-scalar multiplication will be a problem.<br><br></div><div>Chuck <br></div></div><br></div></div>