[Numpy-discussion] deprecate numpy.matrix

Alexander Belopolsky ndarray at mac.com
Mon Feb 10 11:16:23 EST 2014

On Sun, Feb 9, 2014 at 4:59 PM, alex <argriffi at ncsu.edu> wrote:

> On the other hand, it really needs to be deprecated.

While numpy.matrix may have its problems, a NEP should list a better
rationale than the above to gain acceptance.

Personally, I decided not to use numpy.matrix in production code about 10
years ago and never looked back to that decision.  I've heard however that
some of the worst inheritance warts have been fixed over the years.  I also
resisted introducing inheritance  in the implementation of masked arrays,
but I lost that argument.  For better or worse, inheritance from ndarray is
here to stay and I would rather see numpy.matrix stay as a test-bed for
fixing inheritance issues rather than see it deprecated and have the same
issues pop up in ma or elsewhere.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140210/02d6b024/attachment.html>

More information about the NumPy-Discussion mailing list