[issue25281] Incorrect enum behavior during json.dumps serialization

2015-09-30 Thread R. David Murray
R. David Murray added the comment: As indicated by the issue you referenced and the fact that you are using enum34, this is not a bug in the python or its standard library. I believe the correct place to report this is https://bitbucket.org/stoneleaf/enum34/issues?status=new&status=open. ---

[issue25281] Incorrect enum behavior during json.dumps serialization

2015-09-30 Thread Vitaly Belman
New submission from Vitaly Belman: 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 Whic

[issue25281] Incorrect enum behavior during json.dumps serialization

2015-09-30 Thread Vitaly Belman
Vitaly Belman added the comment: Note: Using pip library enum34 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib