[issue16009] Json not handling errors correctly

2012-09-23 Thread Luka Rahne
Luka Rahne added the comment: For example i foun out, that just extra comma crate such error j = json.loads("""{ "" :[{},]}""") -- ___ Python tracker ___ ___

[issue16009] Json not handling errors correctly

2012-09-23 Thread Luka Rahne
New submission from Luka Rahne: Example: import json j = json.loads( """ { "phoneNumber": [ { "type": "home", "number": "212 555-1234" }, } """) print(j) Output>> Traceback (most recent call last): File "", line 13, in File "/usr/lib/python2.7/j