Debian Codegraph @

rpython/__init__.py

raw symbols SCIP
1 # XXX Check for win64:
2 # The win64 port of PyPy/RPython requires sys.maxint == sys.maxsize,
3 # this differs from the CPython implementation
4 # see comment at the top of rpython.rlib.rarithmetic for details
5 import sys
6 if hasattr(sys, "maxint") and hasattr(sys, "maxsize"):
7 if sys.maxint != sys.maxsize:
8 raise Exception(
9 "Translating on win64 requires either a modified CPython "
10 "(so-called CPython64/64) or a working win64 build of PyPy2.")