-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Tuple
is incompatible with tuple
#1120
Comments
I'm not able to repro this with either Pylance or Pyright. Can you double-check your code sample above and verify that it repros the problem for you? Are there any other special settings that you're using (e.g. a different version of typeshed stubs than those that ship with Pylance/Pyright)? |
This is some kind of a heisenbug. Sometimes it appears, and sometimes it does not (e.g. when I open the module for the second time). I don't have anything special settings. I'll investigate this more. |
I was finally able to repro this. A fix will be in the next release. |
This is addressed in pyright 1.1.83, which was just published. It will also be included in the next release of pylance. |
Python 3.9 and latest version of Pyright/Pylance.
error:
The text was updated successfully, but these errors were encountered: