[PyPy-issue] [issue624] Make Python 2.7 Json tests pass

Bobby Impollonia pypy-dev-issue at codespeak.net
Fri Jan 28 07:18:51 CET 2011


Bobby Impollonia <bobbyi at gmail.com> added the comment:

A series of patches is attached to do this right way.

0_move.patch moves the json package (which includes its tests) to modified-2.7.0

1_imp_dependent.patch marks the tests which rely on _json as implementation details. This gets the tests to pass.

2_empty_list.patch fixes simplejson bug 57, which causes '{}' to be loaded as [] instead of {}. This is a merge from upstream
http://code.google.com/p/simplejson/issues/detail?id=57
http://code.google.com/p/simplejson/source/detail?r=195
This issue doesn't arise in CPython 2.7.0 because it relies on the _json C functions which don't have this bug.

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue624>
_______________________________________________________



More information about the Pypy-issue mailing list