Message80604
| Author |
ggenellina |
| Recipients |
ggenellina, steven.daprano |
| Date |
2009年01月27日.01:05:48 |
| SpamBayes Score |
0.00025312026 |
| Marked as misclassified |
No |
| Message-id |
<1233018351.52.0.794716492238.issue5067@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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
as::
json.loads("""{"test": @?&%%}""")
so it's hard to provide a better message when the parser expects a
generic object. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月27日 01:05:52 | ggenellina | set | recipients:
+ ggenellina, steven.daprano |
| 2009年01月27日 01:05:51 | ggenellina | set | messageid: <1233018351.52.0.794716492238.issue5067@psf.upfronthosting.co.za> |
| 2009年01月27日 01:05:49 | ggenellina | link | issue5067 messages |
| 2009年01月27日 01:05:48 | ggenellina | create |
|