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 rhettinger
Recipients anton-ryzhov, bob.ippolito, rhettinger, serhiy.storchaka
Date 2016-04-10.00:07:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460246875.8.0.363072031506.issue26724@psf.upfronthosting.co.za>
In-reply-to
Content
I think etrepum's comment on Aug 27, 2013 display's sound reasoning:
'''
I expect that this error checking feature would be expensive to implement (both in runtime cost and lines of code). I think the most sensible thing to do would be to just mention this in the docs, or do nothing. In the past ~8 years, this is the only time this potential issue has ever been brought up here. It's not technically invalid JSON, but the decode semantics aren't well defined by the spec.
'''

 
I think this should be closed as "not a bug" since the semantics aren't well defined and because currently deployed code may rely on the behavior which isn't unreasonable or shocking. In general, Python tools aim more for practicality than for lint-like advisories about all possible input oddities.
History
Date User Action Args
2016-04-10 00:07:55rhettingersetrecipients: + rhettinger, bob.ippolito, serhiy.storchaka, anton-ryzhov
2016-04-10 00:07:55rhettingersetmessageid: <1460246875.8.0.363072031506.issue26724@psf.upfronthosting.co.za>
2016-04-10 00:07:55rhettingerlinkissue26724 messages
2016-04-10 00:07:55rhettingercreate