Author: Benjamin Peterson <benja...@python.org> Branch: py3k Changeset: r53660:e0ac8f83e4c9 Date: 2012-03-14 22:20 -0500 http://bitbucket.org/pypy/pypy/changeset/e0ac8f83e4c9/
Log: sync with cpython diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py --- a/pypy/interpreter/astcompiler/assemble.py +++ b/pypy/interpreter/astcompiler/assemble.py @@ -602,7 +602,7 @@ return arg + 1 def _compute_UNPACK_EX(arg): - return (arg % 256) + (arg // 256) + return (arg & 0xFF) + (arg >> 8) def _compute_BUILD_TUPLE(arg): return 1 - arg _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit