[pypy-commit] pypy sthalik/fix-signed-integer-sizes-1494493539409: fix signed integer sizes

sthalik pypy.commits at gmail.com
Thu May 11 06:40:15 EDT 2017


Author: Stanisław Halik <sthalik at misaki.pl>
Branch: sthalik/fix-signed-integer-sizes-1494493539409
Changeset: r91246:cb8ca968878f
Date: 2017-05-11 09:06 +0000
http://bitbucket.org/pypy/pypy/changeset/cb8ca968878f/

Log:	fix signed integer sizes

diff --git a/pypy/doc/windows.rst b/pypy/doc/windows.rst
--- a/pypy/doc/windows.rst
+++ b/pypy/doc/windows.rst
@@ -11,7 +11,7 @@
 
 To build pypy-c you need a working python environment, and a C compiler.
 It is possible to translate with a CPython 2.6 or later, but this is not
-the preferred way, because it will take a lot longer to run – depending
+the preferred way, because it will take a lot longer to run � depending
 on your architecture, between two and three times as long. So head to
 `our downloads`_ and get the latest stable version.
 
@@ -343,9 +343,9 @@
 integer.  The simplest fix is to make sure that it is so, but it will
 give the following incompatibility between CPython and PyPy on Win64:
 
-CPython: ``sys.maxint == 2**32-1, sys.maxsize == 2**64-1``
+CPython: ``sys.maxint == 2**31-1, sys.maxsize == 2**63-1``
 
-PyPy: ``sys.maxint == sys.maxsize == 2**64-1``
+PyPy: ``sys.maxint == sys.maxsize == 2**63-1``
 
 ...and, correspondingly, PyPy supports ints up to the larger value of
 sys.maxint before they are converted to ``long``.  The first decision


More information about the pypy-commit mailing list