[Numpy-discussion] NEP: Dispatch Mechanism for NumPy’s high level API (original) (raw)

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Mon Jun 4 10:37:19 EDT 2018


I agree that second rounds of overloads have to be left to the implementers of __array_function__ - obviously, though, we should be sure that these rounds are rarely necessary... The link posted by Stephan [1] has some decent discussion for __array_ufunc__ about when an override should re-call the function rather than try to do something itself.

-- Marten

[1] http://www.numpy.org/neps/nep-0013-ufunc-overrides.html#subclass-hierarchies -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180604/a2fad4ba/attachment.html>



More information about the NumPy-Discussion mailing list