Idiomatic Python often branches on getattr to implement the interface and that is really hard to analyze from the outside.