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 eric.smith
Recipients CT Radu, eric.smith
Date 2015-06-05.12:28:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433507315.52.0.312499669982.issue24387@psf.upfronthosting.co.za>
In-reply-to
Content
What are the use cases where json.loads would be called on the return from json.loads?

It seems to me a better design would be to wrap such calls with a test, instead of having json.loads do this test. Hiding it in json.loads would mask other programming errors, for instance if you pass an unrelated dict to json.loads.
History
Date User Action Args
2015-06-05 12:28:35eric.smithsetrecipients: + eric.smith, CT Radu
2015-06-05 12:28:35eric.smithsetmessageid: <1433507315.52.0.312499669982.issue24387@psf.upfronthosting.co.za>
2015-06-05 12:28:35eric.smithlinkissue24387 messages
2015-06-05 12:28:35eric.smithcreate