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

Barry A. Warsaw report at bugs.python.org
Wed Jun 19 16:23:13 CEST 2013


Barry A. Warsaw added the comment:

On Jun 19, 2013, at 02:09 PM, Eric Snow wrote:

>There's at least one stdlib module that does this pretty well (sqlite3, I
>think).  This is where a simple serialization (and deserialization of course)
>protocol would come in handy.

Yeah, my database layer also has to be taught how to handle enums!

----------

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


More information about the Python-bugs-list mailing list