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

Antoine Pitrou report at bugs.python.org
Wed Jun 19 16:21:52 CEST 2013


Antoine Pitrou added the comment:

> What if we use int(str(value)) instead?

You mean str(int(value)). Sounds good to me.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list