summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-10-29 14:16:23 (GMT)
committerGitHub <noreply@github.com>2020-10-29 14:16:23 (GMT)
commit5776663675b48f011d428a5874cc3c79d1deb59e (patch)
tree13df320ed9473e63a92b8eed64a4d67c58f7d089 /Lib/platform.py
parent350526105fa9b131d8b941ae753378b741dabb2f (diff)
downloadcpython-5776663675b48f011d428a5874cc3c79d1deb59e.zip
cpython-5776663675b48f011d428a5874cc3c79d1deb59e.tar.gz
cpython-5776663675b48f011d428a5874cc3c79d1deb59e.tar.bz2
bpo-42029: Remove IRIX code (GH-23023)
IRIX code was slowy removed in Python 2.4 (--with-sgi-dl), Python 3.3 (Irix threads), and Python 3.7.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index e9f50ab..0eb5167 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -524,16 +524,6 @@ def system_alias(system, release, version):
# XXX Whatever the new SunOS marketing name is...
system = 'Solaris'
- elif system == 'IRIX64':
- # IRIX reports IRIX64 on platforms with 64-bit support; yet it
- # is really a version and not a different platform, since 32-bit
- # apps are also supported..
- system = 'IRIX'
- if version:
- version = version + ' (64bit)'
- else:
- version = '64bit'
-
elif system in ('win32', 'win16'):
# In case one of the other tricks
system = 'Windows'
@@ -698,9 +688,6 @@ def architecture(executable=sys.executable, bits='', linkage=''):
# Bits
if '32-bit' in fileout:
bits = '32bit'
- elif 'N32' in fileout:
- # On Irix only
- bits = 'n32bit'
elif '64-bit' in fileout:
bits = '64bit'