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 pitrou
Recipients amaury.forgeotdarc, barry, eli.bendersky, eric.snow, ethan.furman, ncoghlan, pitrou
Date 2013-06-19.14:23:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371651792.4.0.282227157576.issue18264@psf.upfronthosting.co.za>
In-reply-to
Content
> Serialization isn't the only issue - you have to know how to
> deserialize as well.

I think this is pretty much besides the point. IntEnums are meant to be substitutible with plain ints, so you can deserialize as a plain int.

Moreoven, JSON doesn't fill the same use cases as pickle: it is meant to communicate with services written in any languages, and those services won't have the same enum mnemonics as your Python library.
History
Date User Action Args
2013-06-19 14:23:12pitrousetrecipients: + pitrou, barry, amaury.forgeotdarc, ncoghlan, eli.bendersky, ethan.furman, eric.snow
2013-06-19 14:23:12pitrousetmessageid: <1371651792.4.0.282227157576.issue18264@psf.upfronthosting.co.za>
2013-06-19 14:23:12pitroulinkissue18264 messages
2013-06-19 14:23:12pitroucreate