`__getattr__`'s Post-MRO Magic: AI's Late Attribute Surprise

AI frequently misses attributes dynamically generated by `__getattr__` after the standard MRO lookup has failed, especially when `__getattr__` is defined in a base or intermediate class within a complex inheritance hierarchy.

Sources

Open the full topic