summaryrefslogtreecommitdiff
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-01-18 05:04:49 +0100
committerJesus Cea <jcea@jcea.es>2012-01-18 05:04:49 +0100
commit9da28f311531371bee5a5562190594e7b83cf9aa (patch)
treec7e535b9ccd768db9fa749ff0c9063d34ec03682 /Lib/sysconfig.py
parente711574a7c6232de2cd719ab2f0c23611453e346 (diff)
downloadcpython-9da28f311531371bee5a5562190594e7b83cf9aa.tar.gz
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 294fb0795b..b2183d8e67 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -643,7 +643,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)