Skip to content

Summarise mailing list discussion - #7

Merged
hameerabbasi merged 23 commits into
uarrayfrom
uarray-me
Oct 9, 2019
Merged

hameerabbasi merged 23 commits into
uarrayfrom
uarray-me

Conversation

@hameerabbasi

Copy link
Copy Markdown
Owner

cc @rgommers @peterbell10 I've responded to and documented most of the mailing list discussions in this new draft of the NEP. Do give it a read.

Comment thread doc/neps/nep-0031-uarray.rst Resolved
Comment thread doc/neps/nep-0031-uarray.rst Resolved
Comment thread doc/neps/nep-0031-uarray.rst Resolved
Comment thread doc/neps/nep-0031-uarray.rst Resolved
Comment thread doc/neps/nep-0031-uarray.rst Resolved
Comment thread doc/neps/nep-0031-uarray.rst Outdated
Comment on lines +260 to +273
It has been suggested that the ability to dispatch methods which do not take
a dispatchable is needed, while guessing that backend from another dispatchable.

As a concrete example, consider the following:

.. code:: python

with unumpy.determine_backend(array_like, np.ndarray):
unumpy.arange(len(array_like))

While this does not exist yet in ``uarray``, it is trivial to add it. The
answer is to simply call ``__ua_convert__`` on the passed-in array with
``coerce=False`` for each backend, and comparing the result to
``NotImplemented``.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section seems out of place. The motivation is quite weak and it focuses too much on implementation details.

Comment thread doc/neps/nep-0031-uarray.rst Resolved
@hameerabbasi hameerabbasi changed the title Uarray me Summarise mailing list discussion Oct 9, 2019
@hameerabbasi
hameerabbasi merged commit 5bc11a0 into uarray Oct 9, 2019
@rgommers

Copy link
Copy Markdown
Collaborator

Thanks for the good work on this Hameer and Peter! You were a little too fast for me, I'll try to catch up more on the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants