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

Eli Bendersky report at bugs.python.org
Sun Aug 4 14:42:13 CEST 2013


Eli Bendersky added the comment:

I also think that exchanging the explicit type checks by __index__ merits more thought and is outside the scope of this local fix. The proposed patch does not add any new type checks, but acts within the bounds of code for which the type is already established.

----------

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


More information about the Python-bugs-list mailing list