[issue19011] Enum should have a __getattr__ that makes all the instances available from an instance

Ethan Furman report at bugs.python.org
Mon Sep 23 03:03:06 CEST 2013


Ethan Furman added the comment:

Posted a message on PyDev, but unless I get feedback saying it's a bad idea, or I find some implementation issue, I'll go ahead and make the change.

So either a doc patch or an enum patch will be in alpha3.  :)

----------

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


More information about the Python-bugs-list mailing list