[Python-checkins] cpython (2.7): detect 64-bit systems using maxsize not maxint
benjamin.peterson
python-checkins at python.org
Wed Jan 21 06:48:01 CET 2015
https://hg.python.org/cpython/rev/2cd0aa44d53c
changeset: 94228:2cd0aa44d53c
branch: 2.7
parent: 94222:430236ef507b
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 21 00:47:54 2015 -0500
summary:
detect 64-bit systems using maxsize not maxint
files:
setup.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -696,7 +696,7 @@
exts.append( Extension('audioop', ['audioop.c']) )
# Disabled on 64-bit platforms
- if sys.maxint != 9223372036854775807L:
+ if sys.maxsize != 9223372036854775807L:
# Operations on images
exts.append( Extension('imageop', ['imageop.c']) )
else:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list