-
-
Notifications
You must be signed in to change notification settings - Fork 299
Closed as not planned
Labels
Description
Current behavior
We often have the following code in pylint:
if isinstance(node, nodes.Attribute):
name = node.attrname
else:
name = node.name
This is the reason for a lot of crashes too.
Expected behavior
Maybe it would be a good thing to have a name
attribute that return attrname if required ? (I don't think if we have nodes who have both name and attrname.)