Message361302
I understand (and agree with) the merits of automatically converting the int to str when dumping to a string.
However, this result really surprised me:
>>> json.dumps({1:2, "1":3})
'{"1": 2, "1": 3}'
Is it a valid JSON? |
|
Date |
User |
Action |
Args |
2020-02-03 14:42:30 | facundobatista | set | recipients:
+ facundobatista, eric.smith, steve.dower, xtreak, My-Tien Nguyen |
2020-02-03 14:42:30 | facundobatista | set | messageid: <1580740950.94.0.751182315779.issue34972@roundup.psfhosted.org> |
2020-02-03 14:42:30 | facundobatista | link | issue34972 messages |
2020-02-03 14:42:30 | facundobatista | create | |
|