New issue 3047: Internal exception when loading json with unicode escapes https://bitbucket.org/pypy/pypy/issues/3047/internal-exception-when-loading-json-with
Zihan Zheng: ``` >>>> import json >>>> json.loads('"\\udc00\\udc00"') RPython traceback: File "pypy_interpreter.c", line 42074, in BuiltinCode2_fastcall_2 File "pypy_module__pypyjson.c", line 221, in loads_1 File "pypy_module__pypyjson.c", line 647, in JSONDecoder_decode_any File "pypy_module__pypyjson.c", line 5884, in JSONDecoder_decode_string_escaped File "pypy_module__pypyjson.c", line 8763, in JSONDecoder_decode_escape_sequence_unicode File "rpython_rlib.c", line 23815, in unichr_as_utf8 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib-python/3/json/__init__.py", line 361, in loads if _pypyjson else _default_decoder.decode(s)) SystemError: unexpected internal exception (please report a bug): <OutOfRange object at 0x7f787bc22db0>; internal traceback was dumped to stderr ``` Expected result: `'\udc00\udc00'` PyPy version: PyPy 7.1.1-beta0 _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue