-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
AttributeError: 'Module' object has no attribute '_type' #45
Comments
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): Does this replicate with Astroid 1.2? |
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): Well, only Class nodes should be processed by _is_metaclass. Could you provide a small sample that reproduces the code? |
Original comment by Andrew Kuchev (BitBucket: 4soon): I have similar problem when checking the following code:
The stacktrace is:
Version:
|
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): Thanks, Andrew, I fixed that in https://bitbucket.org/logilab/pylint/commits/e9ae6b39983942a2d47b2725458aca988ebd93ff. Unfortunately, it's not the same as the other failure. |
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): Since there's no way to reproduce this, I'll close the issue in the mean time. |
Originally reported by: Brian Lane (BitBucket: bcl, GitHub: @bcl?)
We have this bug report in Fedora - https://bugzilla.redhat.com/show_bug.cgi?id=1125259
It looks like the Method class is missing a _type attribute.
The text was updated successfully, but these errors were encountered: