Author: David Schneider <[email protected]>
Branch: disable_merge_different_int_types
Changeset: r49953:8eaa554846b5
Date: 2011-11-29 12:49 +0100
http://bitbucket.org/pypy/pypy/changeset/8eaa554846b5/
Log: (arigo, bivab): fix an overfix in setobject
diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -462,7 +462,8 @@
hash = hash * 69069 + 907133923
if hash == 0:
hash = 590923713
- w_set.hash = intmask(hash)
+ hash = intmask(hash)
+ w_set.hash = hash
return space.wrap(hash)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit