Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k-newhash
Changeset: r61585:51531d96fa0e
Date: 2013-02-21 23:36 -0800
http://bitbucket.org/pypy/pypy/changeset/51531d96fa0e/

Log:    fix translation

diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py
--- a/pypy/objspace/std/floatobject.py
+++ b/pypy/objspace/std/floatobject.py
@@ -307,7 +307,7 @@
         x = ((x << 28) & HASH_MODULUS) | x >> (HASH_BITS - 28)
         m *= 268435456.0  # 2**28
         e -= 28
-        y = int(m)  # pull out integer part
+        y = r_uint(m)  # pull out integer part
         m -= y
         x += y
         if x >= HASH_MODULUS:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to