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 serhiy.storchaka
Recipients barry, chrism, ncoghlan, pitrou, serhiy.storchaka
Date 2013-12-01.15:55:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385913334.59.0.0178571745655.issue19837@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that adding a new module is very bad idea.

I think that the reviving the encoding parameter is a lest wrong way. json.dumps() should return bytes when the encoding argument is specifiead and str otherwise. json.dump() should write binary data when the encoding argument is specifiead and a text otherwise. This is not perfect design, but it has precendences in XML modules.
History
Date User Action Args
2013-12-01 15:55:34serhiy.storchakasetrecipients: + serhiy.storchaka, barry, chrism, ncoghlan, pitrou
2013-12-01 15:55:34serhiy.storchakasetmessageid: <1385913334.59.0.0178571745655.issue19837@psf.upfronthosting.co.za>
2013-12-01 15:55:34serhiy.storchakalinkissue19837 messages
2013-12-01 15:55:34serhiy.storchakacreate