[issue24641] Log type of unserializable value when raising JSON TypeError

Bob Ippolito report at bugs.python.org
Sun Jul 19 00:22:13 CEST 2015


Bob Ippolito added the comment:

This seems like a very reasonable proposal. It would be great if we could also include a path in the error message (e.g. `obj["foo"][1]["bar"]`) as well to provide enough context to track down the error quickly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24641>
_______________________________________


More information about the Python-bugs-list mailing list