[Python-checkins] bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658)

Inada Naoki webhook-mailer at python.org
Sun Apr 7 20:51:36 EDT 2019


https://github.com/python/cpython/commit/b7eec94c0e86f8ac318b135ca9146fff32b7203a
commit: b7eec94c0e86f8ac318b135ca9146fff32b7203a
branch: master
author: Michael Felt <aixtools at users.noreply.github.com>
committer: Inada Naoki <songofacandy at gmail.com>
date: 2019-04-08T09:51:33+09:00
summary:

bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658)

files:
A Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst
M Lib/test/test_fcntl.py
M Misc/ACKS
M setup.py

diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index acd5c7cc5864..5d4abe388f78 100644
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -34,7 +34,7 @@ def get_lockdata():
                                fcntl.F_WRLCK, 0)
     elif sys.platform.startswith('gnukfreebsd'):
         lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
-    elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
+    elif sys.platform in ['hp-uxB', 'unixware7']:
         lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
     else:
         lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
diff --git a/Misc/ACKS b/Misc/ACKS
index df6be5912785..19c7e4305351 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -476,6 +476,7 @@ Jim Fasarakis-Hilliard
 Mark Favas
 Sergey Fedoseev
 Boris Feld
+M. Felt
 Thomas Fenzl
 Niels Ferguson
 Francisco Fernández Castaño
diff --git a/Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst b/Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst
new file mode 100644
index 000000000000..764c397f8f8d
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2019-04-02-09-25-23.bpo-36503.0xzfkQ.rst
@@ -0,0 +1,2 @@
+Remove references to "aix3" and "aix4".
+Patch by M. Felt.
diff --git a/setup.py b/setup.py
index c278f08b8e6d..d03596029149 100644
--- a/setup.py
+++ b/setup.py
@@ -1882,9 +1882,6 @@ def detect_tkinter(self):
         libs.append('tk'+ version)
         libs.append('tcl'+ version)
 
-        if HOST_PLATFORM in ['aix3', 'aix4']:
-            libs.append('ld')
-
         # Finally, link with the X11 libraries (not appropriate on cygwin)
         if not CYGWIN:
             libs.append('X11')



More information about the Python-checkins mailing list