Why can not to access from a class attribute to a function of that class? ----------------- class Foo(object): attr = __class__.__name__ attr = self.__class__.__name__ -----------------