Skip to content

Adjust "ast" imports to make pytype happy. #1617

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
Sep 22, 2017
Merged

Adjust "ast" imports to make pytype happy. #1617

merged 1 commit into from
Sep 22, 2017

Conversation

matthiaskramm
Copy link
Contributor

Turns out that pytype is a bit more finicky about imports, and differentiates between * imports for export, and imports for use in the local pyi. This adjusts ast.pyi to make pytype understand it again, after #1515

Turns out that pytype is a bit more finicky about imports, and
differentiates between '*' imports for export, and imports
for use in the local pyi. This adjusts ast.pyi to make pytype
understand it again.
@matthiaskramm
Copy link
Contributor Author

Also, are the mypy_selftest tests just broken right now?

@gvanrossum
Copy link
Member

gvanrossum commented Sep 20, 2017 via email

@gvanrossum
Copy link
Member

No, I think it's just python/mypy#3543 -- I can't reproduce it locally.

@JelleZijlstra JelleZijlstra merged commit 03ec402 into master Sep 22, 2017
@JelleZijlstra JelleZijlstra deleted the ast branch September 22, 2017 13:27
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