diff options
author | Jesus Cea <jcea@jcea.es> | 2012-01-18 04:04:49 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-01-18 04:04:49 (GMT) |
commit | 031605ad999fa33e6da3eae3791c368826bd8311 (patch) | |
tree | 1c7b3317e49efa53612a6cfdeec4ec4452c37989 /Lib/sysconfig.py | |
parent | 1aa1cf3548693d85c94e46a62da2b10dde51f3d6 (diff) | |
download | cpython-031605ad999fa33e6da3eae3791c368826bd8311.zip cpython-031605ad999fa33e6da3eae3791c368826bd8311.tar.gz cpython-031605ad999fa33e6da3eae3791c368826bd8311.tar.bz2 |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 294fb07..b2183d8 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) |