[Numpy-discussion] asanyarray vs. asarray

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Fri Oct 19 11:11:31 EDT 2018


There are exceptions for `matrix` in quite a few places, and there now is
warning for `maxtrix` - it might not be bad to use `asanyarray` and add an
exception for `maxtrix`. Indeed, I quite like the suggestion by Eric Wieser
to just add the exception to `asanyarray` itself - that way when matrix is
truly deprecated, it will be a very easy change.

-- Marten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20181019/be3ca9f8/attachment.html>


More information about the NumPy-Discussion mailing list