[PyPy-issue] [issue628] json.loads("{}") returns []

Amaury Forgeot d Arc pypy-dev-issue at codespeak.net
Thu Jan 27 22:18:42 CET 2011


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

It's actually an issue with the Python implementation of json. With Python 3.2rc1 on 
Windows, I get:

>>> import sys
>>> sys.modules['_json'] = None
>>> import json
>>> json.loads('{}')
[]

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



More information about the Pypy-issue mailing list