summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-01-18 04:05:41 (GMT)
committerJesus Cea <jcea@jcea.es>2012-01-18 04:05:41 (GMT)
commit5c1d814e6fc3fc154db288cab557106e72a53506 (patch)
tree5f96a7f7f88a2ca912ce0632d659c77de1e8f335 /Lib/sysconfig.py
parentb78e1df68bd5e0e718b1c16b6f4d23097b36c08f (diff)
parent031605ad999fa33e6da3eae3791c368826bd8311 (diff)
downloadcpython-5c1d814e6fc3fc154db288cab557106e72a53506.zip
cpython-5c1d814e6fc3fc154db288cab557106e72a53506.tar.gz
cpython-5c1d814e6fc3fc154db288cab557106e72a53506.tar.bz2
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 3c157cf..e5c1e60 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)