[pypy-commit] pypy win64-stage1: test_zpy works on win64

ctismer noreply at buildbot.pypy.org
Tue Nov 22 19:06:03 CET 2011


Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r49668:8a6f3e90b28c
Date: 2011-11-22 19:04 +0100
http://bitbucket.org/pypy/pypy/changeset/8a6f3e90b28c/

Log:	test_zpy works on win64

diff --git a/pypy/__init__.py b/pypy/__init__.py
--- a/pypy/__init__.py
+++ b/pypy/__init__.py
@@ -1,1 +1,9 @@
 # Empty
+# XXX Should be empty again, soon.
+# XXX hack for win64:
+# This patch must stay here until the ENDS OF STAGE 1
+# When all tests work, this branch will be merged
+# and the branch stage 2 is started, where we remove this patch.
+import sys
+if hasattr(sys, "maxsize"):
+    sys.maxint = max(sys.maxint, sys.maxsize)


More information about the pypy-commit mailing list