I keep forgetting to reply to the list: This is great news. I was getting ready to submit a patch to fix the Unicode handling in simplejson (which I will probably do anyway), but I'm interested in making sure whichever lib will hit the standard library has a correct implementation.
Doug On Mar 18, 2008, at 12:17 PM, John Millikin wrote: >> Possible features for 2.6 >> New modules in the standard library: >> - JSON implementation >> > Have there been any plans made for which one? All of the > implementations I'm aware of (cjson, simplejson, jsonlib, demjson, > python-json) have serious issues that in my opinion should be fixed > before inclusion in the standard library[1]. I am the author of > jsonlib, and am willing to write patches for whichever implementation > becomes the standard, but it would be very nice to know what to focus > on. > > Apologies if this has been discussed already, but there was no link to > a PEP in 361 and a search of python-dev and c.l.p returned no relevant > results. > > > [1] > * cjson and python-json have almost complete absense of Unicode > support. > * simplejson is slow and writes incorrect unicode escapes. > * demjson is far too forgiving when parsing and accepts all sorts of > invalid input. > * jsonlib is not PEP 8-compliant and has terrible error handling. > * python-json is abandoned, slow, and lacks Unicode support. > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/douglas%40openplans.org > > !DSPAM:4037,47dfeb7b286095409313003! > _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com