> Ionel Cristian Mărieș added the comment:
> What exactly are you proposing? Getting rid of AttributeError masking?
That isn't really a practical thing to consider, so no. :) Instead
I'm suggesting there isn't a lot of justification to change the
behavior of callable. *If* we were to change anything I'd suggest
disallowing AttributeError from a descriptor's getter during special
method lookup. However, I'm not suggesting that either. We should
simply leave callable alone (and consistent with the other helpers
that inspect the "special" *capability* of objects). |