Issue #488 resolved fails with Python <=2.5 if json-py is installed

Anonymous created an issue

json-py seems to be yet another JSON implementation for python. See

If it's installed, util/ fails to import simplejson as {{{import json}}} imports the json-py library.

Suggested fix in util/ {{{ try: import json + if not hasattr(json, 'JSONEncoder'): + raise ImportError JSONEncoder = json.JSONEncoder except ImportError: }}}

Comments (3)

  1. Log in to comment