From: Ulrich Eckhardt on
Peter Otten wrote:
> Ulrich Eckhardt wrote:
>> So, short follow-up question: Why does this work?
>
> __getattr__() is a fallback that is only tried when the normal lookup
> fails. If you need to intercept every attribute lookup use
> __getattribute__() instead:

Thank you Peter, that was the missing piece to understand it!

Uli

--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932