Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: revert adding distutils and array_api to np.__all__ #24427

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 1 commit into from
Aug 16, 2023

Conversation

rgommers
Copy link
Member

This has turned out to be too disruptive; from numpy import * has to remain warning-free and these two modules emit a warning on import rather than when they're actually used.

array_api we have to decide on for 2.0 (either remove the experimental warning or remove it), I'll open a separate issue to follow up on that, because it may take a bit of time to decide on that one.

For issues this caused, see for example:

This was my fault by the way - I suggested including these modules in __all__ and __dir__ in gh-24357. All the other changes there are still fine.

Cc @pllim, @mroeschke, @mtsokol for info.

This has turned out to be too disruptive; `from numpy import *`
has to remain warning-free and these two modules emit a warning
on import rather than when they're actually used.

`array_api` we have to decide on for 2.0 (either remove the experimental
warning or remove it), I'll open a separate issue to follow up on that.
@seberg
Copy link
Member

seberg commented Aug 16, 2023

Heh, yeah... these definitely can't be here, thanks for the quick fix! I will retrigger the nightlies.

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

Successfully merging this pull request may close these issues.

2 participants