Eli Bendersky added the comment:

Ethan, I pasted the minimized version to point out the problem; I fully agree 
it should do the getattr lookup because otherwise it's very difficult to 
understand what's going on. Let's keep exceptions for actual exceptional 
situations and explicitly code the normal path.

Also, _MemberOrProperty is probably a more descriptive name.

----------

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

Reply via email to