[docs] [issue17947] Code, test, and doc review for PEP-0435 Enum
report at bugs.python.org
Sun May 12 14:54:50 CEST 2013
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 <report at bugs.python.org>
More information about the docs