This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Vitaly Belman
Recipients Vitaly Belman
Date 2015-09-30.14:48:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443624524.13.0.988046915141.issue25281@psf.upfronthosting.co.za>
In-reply-to
Content
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}
History
Date User Action Args
2015-09-30 14:48:44Vitaly Belmansetrecipients: + Vitaly Belman
2015-09-30 14:48:44Vitaly Belmansetmessageid: <1443624524.13.0.988046915141.issue25281@psf.upfronthosting.co.za>
2015-09-30 14:48:44Vitaly Belmanlinkissue25281 messages
2015-09-30 14:48:43Vitaly Belmancreate