diff options
author | Christian Tismer <tismer@stackless.com> | 2012-03-18 02:21:52 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2012-03-18 02:21:52 +0100 |
commit | f55d5e991e429b224cf9eca30bad1d5443c1443a (patch) | |
tree | 7a2094778f5ba5b19a77e81fa8861767045c6385 /pypy/__init__.py | |
parent | Merge (diff) | |
download | pypy-f55d5e991e429b224cf9eca30bad1d5443c1443a.tar.gz pypy-f55d5e991e429b224cf9eca30bad1d5443c1443a.tar.bz2 pypy-f55d5e991e429b224cf9eca30bad1d5443c1443a.zip |
win64 stage 1 is completely synchronized with default. Starting stage 2 soon.
Diffstat (limited to 'pypy/__init__.py')
-rw-r--r-- | pypy/__init__.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pypy/__init__.py b/pypy/__init__.py index b7db25411d..4437e12818 100644 --- a/pypy/__init__.py +++ b/pypy/__init__.py @@ -1 +1,16 @@ # Empty + +# XXX Should be empty again, soon. +# XXX hack for win64: +# This patch must stay here until the END 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"): + if sys.maxint <> sys.maxsize: + sys.maxint = sys.maxsize + import warnings + warnings.warn("""\n +---> This win64 port is now in stage 1: sys.maxint was modified. +---> When pypy/__init__.py becomes empty again, we have reached stage 2. +""") |