[Numpy-discussion] Inheriting from ndarray Was: deprecate numpy.matrix

Todd toddrjen at gmail.com
Tue Feb 11 05:20:46 EST 2014


On Feb 11, 2014 5:01 AM, "Alexander Belopolsky" <ndarray at mac.com> wrote:
>
>
> On Mon, Feb 10, 2014 at 11:31 AM, Nathaniel Smith <njs at pobox.com> wrote:
>>
>> And in the long run, I
>> think the goal is to move people away from inheriting from np.ndarray.
>
>
> This is music to my ears,

There are a lot of units (meter, foot, built, etc.) packages that use
inheriting from numpy to handle their units.  I wouldn't call it a
shortcut, it is a common design decision.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140211/8d056adb/attachment.html>


More information about the NumPy-Discussion mailing list