[issue23486] Enum member lookup is 20x slower than normal class attribute lookup
Ethan Furman
report at bugs.python.org
Wed Mar 11 15:27:05 CET 2015
Ethan Furman added the comment:
In getting everything fixed up and tested I realized there was one slight user-facing change: with this patch it is now possible to say:
SomeEnum.SomeMember = SomeMember
In other words, it is possible to set a value on the class as long as it is the same value that already existed.
3.5 sounds good.
----------
versions: -Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23486>
_______________________________________
More information about the Python-bugs-list
mailing list