8000 fastparse: fix type checking on 3.8 by hauntsaninja · Pull Request #9693 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

fastparse: fix type checking on 3.8 #9693

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
Nov 3, 2020

Conversation

hauntsaninja
Copy link
Collaborator
@hauntsaninja hauntsaninja commented Nov 3, 2020

This got broken by python/typeshed#4740
It took me a little bit to figure out how this evaded all our CI, but
it's because we type check with version 3.5 and mypyc only with 3.5 and
3.7. That is, we do not type check with 3.8 or later and so do not check
against stdlib's AST types.

mypyc wheels did break though, but I'm not sure anyone really looks at
those till they need to. Maybe we should add a badge for them to
the README.

I only noticed this because I was trying to get mypy_primer to mypyc
compile sometimes.

This got broken by python/typeshed#4740
It took me a little bit to figure out how this evaded all our CI, but
it's because we type check with version 3.5 and mypyc only with 3.5 and
3.7. That is, we do not type check with 3.8 or later and so do not check
against stdlib's AST types.

mypyc wheels did break through, but I'm not sure anyone gets to see
those. Maybe we should add a badge for them to the README.

I only noticed this because I was trying to get mypy_primer to mypyc
compile sometimes.
@JelleZijlstra JelleZijlstra merged commit ff2ae7c into python:master Nov 3, 2020
@hauntsaninja hauntsaninja deleted the 1102typech branch November 3, 2020 17:50
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.

2 participants
0