Message191472
> JSON has to be taught how to serialize enums. Of course, it also has
> to be
> taught how to serialize datetimes, timedeltas, and other common data
> types.
How so? The point of IntEnum was that it derived from int, and therefore
would avoid any need for special-casing in C code.
(now if json has a PyLong_CheckExact() check, perhaps it can be relaxed
to PyLong_Check()...) |
|
Date |
User |
Action |
Args |
2013-06-19 14:07:53 | pitrou | set | recipients:
+ pitrou, barry, ncoghlan, eli.bendersky, ethan.furman |
2013-06-19 14:07:53 | pitrou | link | issue17961 messages |
2013-06-19 14:07:53 | pitrou | create | |
|