Skip to content

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

Merged
JelleZijlstra merged 1 commit into
masterfrom
ast
Sep 22, 2017
Merged

JelleZijlstra merged 1 commit into
masterfrom
ast

Conversation

@matthiaskramm

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Also, are the mypy_selftest tests just broken right now?

@gvanrossum

gvanrossum commented Sep 20, 2017 via email

Copy link
Copy Markdown
Member

@gvanrossum

Copy link
Copy Markdown
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