[issue17961] Use enum names as values in enum.Enum() functional API
Nick Coghlan
report at bugs.python.org
Wed Jun 19 15:48:14 CEST 2013
Nick Coghlan added the comment:
I created issue 18264 after I tried it and found my theoretical concern wasn't theoretical at all: swapping a true integer for the current incarnation of enum.IntEnum breaks (at least) JSON serialisation, which means we can't use it in its current form to replace stdlib constants.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17961>
_______________________________________
More information about the Python-bugs-list
mailing list