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

Nick Coghlan report at bugs.python.org
Sun Aug 4 03:53:07 CEST 2013


Nick Coghlan added the comment:

It occurs to me that operator.index() (without a preceding type check) is
likely the more ducktyping friendly option here.

----------

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


More information about the Python-bugs-list mailing list