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 Madison May, bob.ippolito, ezio.melotti, pitrou, rhettinger, serhiy.storchaka, terry.reedy
Date 2017-11-10.19:41:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510342911.8.0.213398074469.issue24641@psf.upfronthosting.co.za>
In-reply-to
Content
This issue was partially fixed in issue26623. The error message for unsupported types now is `"Object of type '%s' is not JSON serializable" % o.__class__.__name__`.

But this change is not complete. The error message for non-string keys still contains the repr of a key. And the example for default() in the module docstring contains the repr of an object.
History
Date User Action Args
2017-11-10 19:41:51serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, bob.ippolito, pitrou, ezio.melotti, Madison May
2017-11-10 19:41:51serhiy.storchakasetmessageid: <1510342911.8.0.213398074469.issue24641@psf.upfronthosting.co.za>
2017-11-10 19:41:51serhiy.storchakalinkissue24641 messages
2017-11-10 19:41:51serhiy.storchakacreate