summaryrefslogtreecommitdiff
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-01-18 05:05:41 +0100
committerJesus Cea <jcea@jcea.es>2012-01-18 05:05:41 +0100
commit24cc1161d2f6fc88a0a15404b7c15af03cee2d72 (patch)
treedc915d356f3d41ccdd28a39bcfd3282311f4242b /Lib/sysconfig.py
parent38617b243b9c346225f8668d18de1816e84fcd95 (diff)
parent9da28f311531371bee5a5562190594e7b83cf9aa (diff)
downloadcpython-24cc1161d2f6fc88a0a15404b7c15af03cee2d72.tar.gz
MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r--Lib/sysconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 3c157cf6ec..e5c1e60d3e 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -656,7 +656,7 @@ def get_platform():
# bootstrap problem. We use a dict to get an error
# if some suspicious happens.
bitness = {2147483647:"32bit", 9223372036854775807:"64bit"}
- machine += ".%s" % bitness[sys.maxint]
+ machine += ".%s" % bitness[sys.maxsize]
# fall through to standard osname-release-machine representation
elif osname[:4] == "irix": # could be "irix64"!
return "%s-%s" % (osname, release)