[issue18264] enum.IntEnum is not compatible with JSON serialisation

Nick Coghlan report at bugs.python.org
Sat Jun 22 07:23:35 CEST 2013


Nick Coghlan added the comment:

Whatever we do needs to be something third party serialisation libraries
can also adopt with minimal compatibility risk for older versions of Python.

Yes, that serialisation will lose the new debugging information. That's
fine - if people want to map from a standard format like JSON to enums,
they have to handle that themselves anyway.

----------

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


More information about the Python-bugs-list mailing list