Skip to content

DOC: revert __skip_array_function__ from NEP-18 #13624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2019

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented May 25, 2019

xref #12028

This reverts most of the changes from GH-13305, and adds a brief discussion of __skip_array_function__ into the "Alternatives" section.

We still use NumPy's implementation of the function internally inside ndarray.__array_function__, but I've given it a new name in the NEP (_implementation) to indicate that it's a private API.

This reverts most of the changes from numpyGH-13305, and adds a brief discussion
of ``__skip_array_function__`` into the "Alternatives" section.

We still use NumPy's implementation of the function internally inside
``ndarray.__array_function__``, but I've given it a new name in the NEP
(``_implementation``) to indicate that it's a private API.
Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

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

Thanks for all the work, now in reverting previous work... I think this summarizes it very well.

@shoyer
Copy link
Member Author

shoyer commented May 25, 2019

I added a note about temporary support for opting out with NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0.

shoyer added a commit to shoyer/numpy that referenced this pull request May 25, 2019
xref numpyGH-13624, numpyGH-12028

TODO: update tests/CI for NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0
@shoyer
Copy link
Member Author

shoyer commented May 25, 2019

See #13627 for corresponding code updates.

@charris
Copy link
Member

charris commented May 26, 2019

Let's get this in. We can make further changes if needed as things develop.

@charris charris merged commit d222a70 into numpy:master May 26, 2019
@shoyer shoyer deleted the nep-18-revert branch May 26, 2019 23:23
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