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 Mahmoud Lababidi
Recipients Mahmoud Lababidi
Date 2016-03-23.14:48:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458744500.18.0.912653699585.issue26623@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-23 14:48:20Mahmoud Lababidisetrecipients: + Mahmoud Lababidi
2016-03-23 14:48:20Mahmoud Lababidisetmessageid: <1458744500.18.0.912653699585.issue26623@psf.upfronthosting.co.za>
2016-03-23 14:48:20Mahmoud Lababidilinkissue26623 messages
2016-03-23 14:48:19Mahmoud Lababidicreate