[issue23640] Enum.from_bytes() is broken
Ethan Furman
report at bugs.python.org
Wed Mar 11 17:17:38 CET 2015
Ethan Furman added the comment:
The only solution that is coming to mind is to have EnumMeta go through the other base classes, wrap any classmethods it finds, and ensure that they return their appropriate type and not an Enum type.
Any other ideas?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23640>
_______________________________________
More information about the Python-bugs-list
mailing list