Attribute Access and Descriptors
Jacob Zimmerman · Apress eBooks · 2016
In Chapter X it was stated that attribute access calls get transformed into descriptor calls, but it was not stated how. The simple answer is that __getattribute__() does it, but there’s more to it than that, so this answer is also entirely insufficient. This simplification is helpful, since it tells you that, if you want to customize __getattribute__() and have it continue working with descriptors, you need it to delegate to the default implementation with super() These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.