Message306045
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. |
|
Date |
User |
Action |
Args |
2017-11-10 19:41:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, terry.reedy, bob.ippolito, pitrou, ezio.melotti, Madison May |
2017-11-10 19:41:51 | serhiy.storchaka | set | messageid: <1510342911.8.0.213398074469.issue24641@psf.upfronthosting.co.za> |
2017-11-10 19:41:51 | serhiy.storchaka | link | issue24641 messages |
2017-11-10 19:41:51 | serhiy.storchaka | create | |
|