[Numpy-discussion] Dispatch rules for binary operations on ndarrays

Nathaniel Smith njs at pobox.com
Wed May 6 05:59:16 EDT 2015


I just wanted to draw the list's attention to a discussion happening on the
tracker, about the details of how methods like ndarray.__add__ are
implemented, and how this interacts with the new __numpy_ufunc__ method
that will make it possible for third party libraries to override arbitrary
ufuncs starting in (hopefully) 1.10:
  https://github.com/numpy/numpy/issues/5844

The details are somewhat arcane, but very important for anyone who
implements ndarray-like objects or (to a lesser extent) anyone who
subclasses ndarray. So feedback very welcome.

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150506/e817f2e2/attachment.html>


More information about the NumPy-Discussion mailing list