Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inference of properties in a class context
Ref pylint-dev#940. If we are accessing an attribute and it is found on type(A).__dict__ *and* it is a data descriptor, then we resolve that descriptor. For the case of inferring a property which is accessed as a class attribute, this equates to the property being defined on the metaclass (which may be anywhere in the class hierarchy).
- Loading branch information