Ticket #443 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

sugar-jhbuild: add simplejson to dependencies

Reported by: sascha_silbe Owned by: marcopg
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

Python 2.6 contains simplejson, so it makes sense to use it (e.g. in Typing Turtle). But for Python 2.5, we need to depend on it.
The package name is python-simplejson for Debian/Ubuntu.

Change History

follow-up: ↓ 2   Changed 4 years ago by wadeb

In Python 2.6 and 3.0 simplejson is the default 'json' module.

It's also got nice features like formatting and line / column information in error reports.

Typing Turtle uses machine generaetd + hand edited .json files for lesson content so it's important to have these features.

in reply to: ↑ 1   Changed 4 years ago by tomeu

Replying to wadeb:

In Python 2.6 and 3.0 simplejson is the default 'json' module.

It's also got nice features like formatting and line / column information in error reports.

Also, I think that the version in 2.6 already has part of it written in C for speed, though I would expect it to be a bit slower than cjson, may be good enough. We should check their compared performance in the XO.

  Changed 4 years ago by sascha_silbe

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.