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 ggenellina
Recipients ggenellina, steven.daprano
Date 2009-01-27.01:05:48
SpamBayes Score 0.00025312026
Marked as misclassified No
Message-id <>
This patch provides a better error message for this case::

  json.loads("""{'test': "test"}""")

but still doesn't help in this one::

  json.loads("""{"test": 'test'}""")

'test' looks like garbage to JSON (it *is* garbage!), exactly the same 

  json.loads("""{"test": @?&%%}""")

so it's hard to provide a better message when the parser expects a 
generic object.
Date User Action Args
2009-01-27 01:05:52ggenellinasetrecipients: + ggenellina, steven.daprano
2009-01-27 01:05:51ggenellinasetmessageid: <>
2009-01-27 01:05:49ggenellinalinkissue5067 messages
2009-01-27 01:05:48ggenellinacreate