[New-bugs-announce] [issue26623] JSON encode: more informative error
Mahmoud Lababidi
report at bugs.python.org
Wed Mar 23 10:48:20 EDT 2016
New submission from Mahmoud Lababidi:
The json.dumps()/encode functionality will raise an Error when an object that cannot be json-encoded is encountered. The current Error message only shows the Object itself. I would like to enhance the error message by also providing the Type. This is useful when numpy.int objects are passed in, but not clear that they are numpy objects.
----------
components: Library (Lib)
messages: 262272
nosy: Mahmoud Lababidi
priority: normal
severity: normal
status: open
title: JSON encode: more informative error
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26623>
_______________________________________
More information about the New-bugs-announce
mailing list