Message236139
We used to be able to override _iterencode prior to 2.7 to get our namedtuples to be encoded as dict using json.dump(s) but now we can not.
Namedtuples are automatically encoded as list but it would be more logical and convenient to have them encoded as dict |
|
Date |
User |
Action |
Args |
2015-02-17 16:52:36 | Zack-- | set | recipients:
+ Zack--, rhettinger, pitrou, ezio.melotti |
2015-02-17 16:52:36 | Zack-- | set | messageid: <1424191956.27.0.511838281489.issue23473@psf.upfronthosting.co.za> |
2015-02-17 16:52:36 | Zack-- | link | issue23473 messages |
2015-02-17 16:52:35 | Zack-- | create | |
|