-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Class attributes __qualname__
and __module__
should be accessible within class body
#10570
Labels
Comments
I would like to work on this one, where should I start out with this problem? |
I think the title of this should be this, right?
|
erictraut
changed the title
Class attributes
Class attributes Mar 16, 2022
__qualname__
and __name__
should be accessible within class body__qualname__
and __module__
should be accessible within class body
@jli, yes, good catch. I've updated the issue name. |
AlexWaygood
added
the
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
label
Mar 27, 2022
This was referenced Oct 2, 2023
hauntsaninja
pushed a commit
that referenced
this issue
Oct 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The attributes
__qualname__
and__module__
appear to be accessible from within a class body. These accesses don't generate a runtime error, but mypy reports a "not defined" error.This is related to the following bug filed against pyright: microsoft/pylance-release#1376.
The text was updated successfully, but these errors were encountered: