Irit Katriel <iritkatr...@yahoo.com> added the comment:

On closer scrutiny I'm not sure this patch should be merged. 

The getattr call here has a default value, so it should not raise 
AttributeError. It should also not raise any other exception because a valid 
implementation of __getattr__ should raise only AttributeError:

https://docs.python.org/3/reference/datamodel.html#object.__getattr__

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue4643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to