-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Code for supporting with_metaclass
seems broken
#1735
Comments
This seems relevant: I am not familiar with that code, but it seems like this is indeed very error-prone. |
I think this line is the exact problem. Did |
Not as far as I know. However, is |
@DanielNoord do you know of any node type which has an |
|
It looks like this is happening whether or not |
So this code works as expected:
But this breaks:
astroid seems to have special handling for functions called
with_metaclass
, which seems to be broken.Am I using the method wrongly? I tried using it just as I saw it being used in the project itself.
The text was updated successfully, but these errors were encountered: