This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Zack--
Recipients Zack--, ezio.melotti, pitrou, rhettinger
Date 2015-02-17.16:52:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424191956.27.0.511838281489.issue23473@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-02-17 16:52:36Zack--setrecipients: + Zack--, rhettinger, pitrou, ezio.melotti
2015-02-17 16:52:36Zack--setmessageid: <1424191956.27.0.511838281489.issue23473@psf.upfronthosting.co.za>
2015-02-17 16:52:36Zack--linkissue23473 messages
2015-02-17 16:52:35Zack--create