[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
- Previous message (by thread): [Numpy-discussion] NEP: Dispatch Mechanism for NumPy’s high level API
- Next message (by thread): [Numpy-discussion] NumPy 1.14.4 release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message (by thread): [Numpy-discussion] NEP: Dispatch Mechanism for NumPy’s high level API
- Next message (by thread): [Numpy-discussion] NumPy 1.14.4 release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]