-
-
Notifications
You must be signed in to change notification settings - Fork 3k
AttributeError: 'TupleType' object has no attribute 'type' #979
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
Comments
What file triggered this, i.e. what's your Python code? |
Yeah, it would be useful if you could isolate a small Python fragment that generates the stack trace. It's not obvious from the stack trace what caused this. This happened in a for statement -- I wonder if this bit of information makes it easier to isolate the cause. |
sorry for the delay. I did some tests to minimize the code. From what I can understand, the problem is with the namedtuple "_fields" attribute
mypy tells me
|
Thanks for the example! I'll look into this. |
The crash is now fixed, but the |
See PR #1810 |
I'm using the latest git version.
I'm toying with mypy and a .py of my project. I get this stacktrace:
The text was updated successfully, but these errors were encountered: