-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Crash on simple namedtuple #3781
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
Im unable to reproduce this on 0.521, or 0.511. Based on the typing errors, is there, perhaps, a module named |
(Update: fixed issue number.) |
Ah, my apologies. ethanhs identified it exactly. |
I do think there's an action item for the mypy core team. We ought to verify that of the initial cycle of dependency stubs (including typing.pyi, abc.pyi and builtins.pyi, and a few more depending on Python version) all files in that cycle are loaded from typeshed, not from the user's code. Possibly we could somehow force-load these with only typeshed in the search path? |
Yes, but IIUC we already have an open issue #1876 for this. |
The following code caused an internal error on version 0.521. I did a cursory search of the current issue tracker and didn't find anything that matched the simplicity of this case.
the traceback is:
The text was updated successfully, but these errors were encountered: