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 r.david.murray
Recipients CT Radu, eric.smith, r.david.murray
Date 2015-06-05.13:23:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Agreed that this is not a good API change.  If this makes sense for a particular program it is easy to write a wrapper, while the current behavior is much more useful for typical programs.  loads is not a "coercion" style call, it is specifically parsing a string, and should fail if passed something it can't parse as a string.  Another argument along these lines is that if you call int() on something, you know you get back an int.  If you call json.loads and it returns a dictionary unmodified, you do *not* know if you have something that is valid json data or not (that is, it might contain un-jsonifiable objects).
Date User Action Args
2015-06-05 13:23:30r.david.murraysetrecipients: + r.david.murray, eric.smith, CT Radu
2015-06-05 13:23:30r.david.murraysetmessageid: <>
2015-06-05 13:23:30r.david.murraylinkissue24387 messages
2015-06-05 13:23:30r.david.murraycreate