Message191478
> 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. |
|
Date |
User |
Action |
Args |
2013-06-19 14:23:12 | pitrou | set | recipients:
+ pitrou, barry, amaury.forgeotdarc, ncoghlan, eli.bendersky, ethan.furman, eric.snow |
2013-06-19 14:23:12 | pitrou | set | messageid: <1371651792.4.0.282227157576.issue18264@psf.upfronthosting.co.za> |
2013-06-19 14:23:12 | pitrou | link | issue18264 messages |
2013-06-19 14:23:12 | pitrou | create | |
|