[pypy-commit] pypy py3.5: py3 fix

arigo pypy.commits at gmail.com
Tue Nov 15 02:17:08 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r88378:a6e7189349da
Date: 2016-11-15 08:16 +0100
http://bitbucket.org/pypy/pypy/changeset/a6e7189349da/

Log:	py3 fix

diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -326,7 +326,7 @@
                     return -1
                 return a-b
             #
-            total = sys.maxint - 2147483647
+            total = sys.maxsize - 2147483647
             for i in range(100000):
                 total += f(i, 5)
             #


More information about the pypy-commit mailing list