[Bugs] #3142 UNSP: Use JSON implementations in Python's standard library instead of cjson
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Mar 5 06:58:14 EST 2012
#3142: Use JSON implementations in Python's standard library instead of cjson
------------------------------------------+---------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by erikos):
Looks like there is still a difference between simplejson and json
(contained in Python itself), here the simplejson info:
{{{
NAME
simplejson
FILE
/usr/lib/python2.7/site-packages/simplejson/__init__.py
DESCRIPTION
JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard
library
:mod:`marshal` and :mod:`pickle` modules. It is the externally
maintained
version of the :mod:`json` library contained in Python 2.6, but
maintains
compatibility with Python 2.4 and Python 2.5 and (currently) has
significant performance advantages, even without using the optional C
extension for speedups.
}}}
In a follow up patch bd3fdd73a853d618aa5000ff5b1ce82f196c8b70 on
cff9e43527ead20b088a9bfc6bbf12b0827debfd Daniel moved the shell at least
back to simplejson.
We should evaluate the situation now once again and then switch all the
modules and activities to whatever is the state of art.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3142#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list