PEP 840: Name Resolution in Class Namespaces

There is a long-standing inconsistency in the way variable names are resolved in classes. Several alternatives to resolve this inconsistency are discussed.