Merge lp:~james-w/wadllib/fix-simplejson-unicode into lp:wadllib
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Deryck Hodge |
Approved revision: | 11 |
Merged at revision: | not available |
Proposed branch: | lp:~james-w/wadllib/fix-simplejson-unicode |
Merge into: | lp:wadllib |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~james-w/wadllib/fix-simplejson-unicode |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Deryck Hodge (community) | Approve | ||
Review via email: mp+10180@code.launchpad.net |
To post a comment you must log in.
Hi,
Please see http:// code.google. com/p/simplejso n/issues/ detail? id=40
This means that the output of simplejson.loads changes depending on
the version of simplejson, and whether the C speedups are in use,
unless you always pass in unicode.
This meant that the tests would fail on some systems, but also that
you couldn't rely on the output.
This change ensures that all parsed strings will be unicode, as the
tests assert.
Thanks,
James