Message251945
Possibly related to: http://bugs.python.org/issue18264
The following code:
>>> import IntEnum from enum
>>> from enum import IntEnum
>>> class a(IntEnum): a=0
>>> json.loads(json.dumps({"x": a.a}))
Produces:
ValueError: No JSON object could be decoded
Which makes sense because the json dumps function produces is: {"x": a.a} |
|
Date |
User |
Action |
Args |
2015-09-30 14:48:44 | Vitaly Belman | set | recipients:
+ Vitaly Belman |
2015-09-30 14:48:44 | Vitaly Belman | set | messageid: <1443624524.13.0.988046915141.issue25281@psf.upfronthosting.co.za> |
2015-09-30 14:48:44 | Vitaly Belman | link | issue25281 messages |
2015-09-30 14:48:43 | Vitaly Belman | create | |
|