Skip to content
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

MAINT: Remove __all__ in favor of explicit re-exports #18764

Merged
merged 1 commit into from Apr 13, 2021

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Apr 13, 2021

Backport of 1dd2bd6.

As was noted in #18565 (comment) the somewhat weird mixed usage of explicit re-exports and __all__ for defining re-exports is not actually defined in any of the typing-related PEPs. While this works fine with mypy, the same does not necasserily hold for other type checkers (e.g. PyCharm).

@BvB93 BvB93 added this to the 1.20.3 release milestone Apr 13, 2021
@charris charris merged commit 18544c7 into numpy:maintenance/1.20.x Apr 13, 2021
@charris
Copy link
Member

charris commented Apr 13, 2021

Thanks Bas.

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.

None yet

2 participants