diff options
| author | Jesus Cea <jcea@jcea.es> | 2012-01-18 05:05:41 +0100 |
|---|---|---|
| committer | Jesus Cea <jcea@jcea.es> | 2012-01-18 05:05:41 +0100 |
| commit | 5c1d814e6fc3fc154db288cab557106e72a53506 (patch) | |
| tree | 5f96a7f7f88a2ca912ce0632d659c77de1e8f335 /Lib/sysconfig.py | |
| parent | b78e1df68bd5e0e718b1c16b6f4d23097b36c08f (diff) | |
| parent | 031605ad999fa33e6da3eae3791c368826bd8311 (diff) | |
| download | cpython-git-5c1d814e6fc3fc154db288cab557106e72a53506.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.py | 2 |
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) |
