Find a way to handle it now, using inheritance
class _(object): a = 100 class Outer(_): class Inner(object): b = _.a # OK @staticmethod def get_a(cls): return Outer.a # OK