Repository navigation
Summarise mailing list discussion - #7
Merged
Merged
Conversation
DOC: update NEP 31 for vendoring and being complementary to NEP-13/18
peterbell10
reviewed
Oct 8, 2019
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``. |
Collaborator
There was a problem hiding this comment.
This section seems out of place. The motivation is quite weak and it focuses too much on implementation details.
peterbell10
approved these changes
Oct 9, 2019
hameerabbasi
force-pushed
the
uarray-me
branch
from
October 9, 2019 17:16
612816d to
a74b550
Compare
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.