-
-
Notifications
You must be signed in to change notification settings - Fork 3k
mypy-0.641 is crashed with AssertionError: Var is lacking info #5866
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
Labels
Comments
Hm, this is unfortunate, sorry. Could try to find a minimalistic repro containing only one or few files? |
Sorry for late response. This is minimal reproducible example. Could you check this please?
|
More minimal example (as a test case):
|
Oh, great, it will me much easier to fix it with this repro. |
ilevkivskyi
added a commit
that referenced
this issue
Nov 15, 2018
Fixes #5866 There are two places where `__getattr__` generated `Var`s are created, and somehow in one of them it was given a `MDEF` kind (which caused a crash), although it is a _module_ attribute.
Sorry for late. I confirmed it works fine on our project! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report.
or a mock-up repro if the source is private. We would appreciate
if you try to simplify your case to a minimal repro.
Here: https://github.com/tk0miya/sphinx/tree/mypy_py37_bug
This is our repository. Now I'm working to migrate type annotations to py3 style.
mypy has been crashed with following stacktrace.
Not crashed.
Do you see the same issue after installing mypy from Git master?
python 3.7.1 and 0.641.
I never tested with git master version.
Here is my setup.cfg:
The text was updated successfully, but these errors were encountered: