[Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods
Marten van Kerkwijk
m.h.vankerkwijk at gmail.com
Thu Apr 25 19:00:05 EDT 2019
On Thu, Apr 25, 2019 at 6:04 PM Stephan Hoyer <shoyer at gmail.com> wrote:
> On Thu, Apr 25, 2019 at 12:46 PM Marten van Kerkwijk <
> m.h.vankerkwijk at gmail.com> wrote:
>
<snip>
>
> It would be nice, though, if we could end up with also option 4 being
>> available, if only because code that just can assume ndarray will be
>> easiest to read.
>>
>
> This could perhaps just be coercion_function=None? Or maybe we want to
> keep around coercion_function=None for "do whatever ad-hoc coercion NumPy
> current does"?
>
>>
>> I think `None` better mean no coercion... But the default doesn't have
to be `None`, of course.
-- Marten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190425/3eacdb0b/attachment.html>
More information about the NumPy-Discussion
mailing list