Message233157
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. |
|
Date |
User |
Action |
Args |
2014-12-29 01:20:04 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, bob.ippolito, anders.rundgren.net@gmail.com |
2014-12-29 01:20:04 | ethan.furman | set | messageid: <1419816004.02.0.276440790073.issue23123@psf.upfronthosting.co.za> |
2014-12-29 01:20:03 | ethan.furman | link | issue23123 messages |
2014-12-29 01:20:02 | ethan.furman | create | |
|