Message191632
On 06/21/2013 07:49 PM, Guido van Rossum wrote:
> Eli Bendersky added the comment:
>>
>> Practically speaking, what should be done to make enum play well with JSON
>> without writing new PEPs? I think we still want to convert those stdlib
>> constants to IntEnums...
>
> Change json to call int() first.
Should we have json call float() and str() first as well? I'm thinking less of the stdlib and more of the unsuspecting
user. |
|
Date |
User |
Action |
Args |
2013-06-22 03:23:26 | ethan.furman | set | recipients:
+ ethan.furman, gvanrossum, barry, rhettinger, amaury.forgeotdarc, ncoghlan, pitrou, ezio.melotti, eli.bendersky, eric.snow |
2013-06-22 03:23:26 | ethan.furman | link | issue18264 messages |
2013-06-22 03:23:26 | ethan.furman | create | |
|