Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-112

Import simplejson before json

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.6.1
    • Compute, Core
    • None

    Description

      Right now libcloud imports json, and if that fails, imports simplejson. Simplejson is usually more up to date than json and usually a little faster, so I think it makes sense to import simplejson first, then json. This will still work with old versions of python that don't have the json module.

      Attachments

        Activity

          People

            Unassigned Unassigned
            angryparsley Geoff Greer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: