Author: p_ziesch...@yahoo.de
Branch: ep2016sprint
Changeset: r85830:346f178d477f
Date: 2016-07-23 17:12 +0200
http://bitbucket.org/pypy/pypy/changeset/346f178d477f/

Log:    removed duplicate hashing call

diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py
--- a/pypy/objspace/descroperation.py
+++ b/pypy/objspace/descroperation.py
@@ -436,7 +436,7 @@
             w_h = space.hash(w_result)
             if space.int_w(w_h) == -1:
                 return space.wrap(-2)
-            return space.hash(w_result)
+            return w_h
         elif space.isinstance_w(w_result, space.w_int):
             # be careful about subclasses of 'int'...
             int_result = space.int_w(w_result)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to