diff options
author | Jesus Cea <jcea@jcea.es> | 2012-01-18 05:04:49 +0100 |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-01-18 05:04:49 +0100 |
commit | 9da28f311531371bee5a5562190594e7b83cf9aa (patch) | |
tree | c7e535b9ccd768db9fa749ff0c9063d34ec03682 /Lib/sysconfig.py | |
parent | e711574a7c6232de2cd719ab2f0c23611453e346 (diff) | |
download | cpython-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.py | 2 |
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) |