Author: Manuel Jacob Branch: remove-tuple-smm Changeset: r64429:96d8d298a906 Date: 2013-05-22 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/96d8d298a906/
Log: Wrap return value of descr_hash(). diff --git a/pypy/objspace/std/tupleobject.py b/pypy/objspace/std/tupleobject.py --- a/pypy/objspace/std/tupleobject.py +++ b/pypy/objspace/std/tupleobject.py @@ -253,7 +253,7 @@ z -= 1 mult += 82520 + z + z x += 97531 - return intmask(x) + return space.wrap(intmask(x)) def descr_eq(self, space, w_other): if not isinstance(w_other, W_AbstractTupleObject): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit