[docs] [issue17947] Code, test, and doc review for PEP-0435 Enum

Ethan Furman report at bugs.python.org
Sun May 12 13:24:44 CEST 2013

Ethan Furman added the comment:

After more thought, I think we should leave the shortened version of _StealthProperty as is.

The reasoning being that if _StealthProperty does the __getattr__ lookup itself, and fails, it will return an AttributeError... and then Python will use __getattr__ again to try and find the attribute.

So I'll add a comment into the shortened version and leave it at that.


Python tracker <report at bugs.python.org>

More information about the docs mailing list