-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
False positive unsubscriptable-object with typing.Dict instances #3129
Comments
mthuurne
changed the title
False positive unsubscriptable-object with typing.Dict
False positive unsubscriptable-object with typing.Dict instances
Sep 25, 2019
Thanks, I can reproduce it as well. |
Is there an ETA for this issue? |
I can't reproduce this with the git master versions of PyLint and Astroid, on Python 3.8. I don't understand yet why though. |
attilaolah
pushed a commit
to attilaolah/math
that referenced
this issue
Jun 2, 2020
This is temporary, until pylint-dev/pylint#3129 is resolved.
b3b
added a commit
to b3b/ipython-restmagic
that referenced
this issue
Aug 12, 2020
b3b
added a commit
to b3b/ipython-restmagic
that referenced
this issue
Aug 13, 2020
I'm going to close this in favour of #2420 because it covers a wider set of issues associated with inheriting from |
This was referenced Mar 9, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Run pylint on the following code:
Current behavior
pylint reports:
Expected behavior
No message is reported, since
t
acts just like adict
.pylint --version output
Note
While superficially similar, this is different from #2849 since there the problem is in subscripting the type, while here subscripting the type is accepted but subscripting the instance is not.
The text was updated successfully, but these errors were encountered: