Author: David Schneider <david.schnei...@picle.org> Branch: Changeset: r63526:a3da7e0bff01 Date: 2013-04-20 10:25 -0500 http://bitbucket.org/pypy/pypy/changeset/a3da7e0bff01/
Log: merge heads diff --git a/lib-python/2.7/json/decoder.py b/lib-python/2.7/json/decoder.py --- a/lib-python/2.7/json/decoder.py +++ b/lib-python/2.7/json/decoder.py @@ -162,7 +162,7 @@ if nextchar == '}': if object_pairs_hook is not None: result = object_pairs_hook(pairs) - return result, end + return result, end + 1 pairs = {} if object_hook is not None: pairs = object_hook(pairs) diff --git a/lib-python/2.7/json/tests/test_decode.py b/lib-python/2.7/json/tests/test_decode.py --- a/lib-python/2.7/json/tests/test_decode.py +++ b/lib-python/2.7/json/tests/test_decode.py @@ -44,6 +44,7 @@ object_pairs_hook=OrderedDict, object_hook=lambda x: None), OrderedDict(p)) + self.assertEqual(self.loads("{}", object_pairs_hook=list), []) class TestPyDecode(TestDecode, PyTest): pass diff --git a/pypy/doc/config/translation.gcrootfinder.txt b/pypy/doc/config/translation.gcrootfinder.txt --- a/pypy/doc/config/translation.gcrootfinder.txt +++ b/pypy/doc/config/translation.gcrootfinder.txt @@ -9,7 +9,9 @@ - ``--gcrootfinder=asmgcc``: use assembler hackery to find the roots directly from the normal stack. This is a bit faster, but platform specific. It works so far with GCC or MSVC, - on i386 and x86-64. + on i386 and x86-64. It is tested only on Linux (where it is + the default) so other platforms (as well as MSVC) may need + various fixes before they can be used. You may have to force the use of the shadowstack root finder if you are running into troubles or if you insist on translating diff --git a/rpython/jit/backend/arm/opassembler.py b/rpython/jit/backend/arm/opassembler.py --- a/rpython/jit/backend/arm/opassembler.py +++ b/rpython/jit/backend/arm/opassembler.py @@ -1320,6 +1320,7 @@ with saved_registers(self.mc, regs_to_save, vfp_regs_to_save): self._emit_call(imm(self.reacqgil_addr), [], fcond, can_collect=False) + self._reload_frame_if_necessary(self.mc) def _store_force_index(self, guard_op): faildescr = guard_op.getdescr() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit