[Numpy-discussion] is __array_ufunc__ ready for prime-time?

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Tue Nov 7 21:49:22 EST 2017

Hi Nathaniel,

You're right, I shouldn't be righteous. Though I do think the
advantage of `asanyarray` inside numpy is remains that it is easy for
a user to add `asarray` to their input to a numpy function, and not
easy for a happily compatible subclass to avoid an `asarray` inside a
numpy function! I.e., coerce as little as you can get away with...

All the best,


More information about the NumPy-Discussion mailing list