The implementation __getattribute__obviously does not allow all requests to be executed
Let's say this is not suitable for all vanilla searches.
So, how was it __getattribute__called first, since it is also an attribute of the class?
, . , , __getattribute__ ( ).
, __init__, ( ), .
?
:
a = A()
__init__ , . . , __setattr__, __delattr__, __getattribute__ .
__init__:
a.__init__()
. Eh, , .
, __getattribute__ :
a.__getattribute__
AttributeError; __getattribute__, .
, __getattribute__?
__getattribute__ , . , __getattribute__ .