[issue24983] Wrong AttributeError propagation

David Unric report at bugs.python.org
Wed Sep 2 13:13:54 CEST 2015


David Unric added the comment:

Thanks for the comprehensive response.

I did suspected the 2nd call is caused how it has been described in paragraph 4. And you are probably right. Only think exception instance raised in __getattr__ should not lead to its another call but propagated to outer level, ie. should not get continue in getter in this example.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24983>
_______________________________________


More information about the Python-bugs-list mailing list