-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
NotImplemented is not callable #3315
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
Typo in |
hauntsaninja
pushed a commit
to hauntsaninja/typeshed
that referenced
this issue
Jun 11, 2020
JelleZijlstra
pushed a commit
that referenced
this issue
Jun 11, 2020
Fixes #3315 Co-authored-by: hauntsaninja <>
vishalkuo
pushed a commit
to vishalkuo/typeshed
that referenced
this issue
Jun 26, 2020
Fixes python#3315 Co-authored-by: hauntsaninja <>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm aware of this python/mypy#6710
I understand the points raised here python/mypy#6710
However the current issue is that
seems perfectly valid to mypy when in fact it isn't, since it's not callable.
So basically, it should have been a
NotImplementedError
but mypy didn't find it (I found it with pyflakes).Do you think it is possible to make it an almost-but-non-callable-Any?
Otherwise it could perhaps be mypy to warn about odd uses?
The text was updated successfully, but these errors were encountered: