[Bugs] #156 TRIV: Inconsistency in using cjson vs json

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 24 13:49:29 EST 2008


#156: Inconsistency in using cjson vs json
----------------------+-----------------------------------------------------
 Reporter:  nirbheek  |       Owner:  marcopg    
     Type:  defect    |      Status:  new        
 Priority:  trivial   |   Milestone:             
Component:  sugar     |     Version:  unspecified
 Keywords:            |  
----------------------+-----------------------------------------------------
 Some packages import json whereas others import cjson. Examples:

 [http://git.sugarlabs.org/projects/sugar-
 jhbuild/repos/mainline/blobs/master/scripts/report.py sugar-jhbuild uses
 json]:
 ./scripts/report.py:    import json

 [http://git.sugarlabs.org/projects/browse/repos/mainline/blobs/master/model.py
 browse uses json]:
 ./model.py:import json

 etc..

 sugar, sugar-toolkit, sugar-datastore use cjson in various places.

 The moduleset system deps mention python-cjson, but do NOT mention json-py
 as a dependency (which is implicit on Ubuntu and Fedora but not on other
 distros)

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/156>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list