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 ethan.furman
Recipients anders.rundgren.net@gmail.com, bob.ippolito, ethan.furman, rhettinger
Date 2014-12-29.01:20:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419816004.02.0.276440790073.issue23123@psf.upfronthosting.co.za>
In-reply-to
Content
Enums (and other numeric subclasses), do not round-trip back to themselves.  An IntEnum with the value of 4 is written as 4 and converted back from json as the integer 4 (not Settings.TabSpaces, or whatever).

Given that json is multi-language format (or a javascript format -- but either way not a Python-specific format) I don't know that we can expect much more from it.
History
Date User Action Args
2014-12-29 01:20:04ethan.furmansetrecipients: + ethan.furman, rhettinger, bob.ippolito, anders.rundgren.net@gmail.com
2014-12-29 01:20:04ethan.furmansetmessageid: <1419816004.02.0.276440790073.issue23123@psf.upfronthosting.co.za>
2014-12-29 01:20:03ethan.furmanlinkissue23123 messages
2014-12-29 01:20:02ethan.furmancreate