summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMichael Felt <aixtools@users.noreply.github.com>2019-12-15 14:17:53 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2019-12-15 14:17:53 (GMT)
commit39afa2d3147e4b05a1161cc90dbf09b95072c2bb (patch)
tree4e55f8d4697cc79658b89c0ccfa1d43dfb01ecb7 /Doc
parent94d2c8df1a7657015a2fcdb4c4d43392f91f8348 (diff)
downloadcpython-39afa2d3147e4b05a1161cc90dbf09b95072c2bb.zip
cpython-39afa2d3147e4b05a1161cc90dbf09b95072c2bb.tar.gz
cpython-39afa2d3147e4b05a1161cc90dbf09b95072c2bb.tar.bz2
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/distutils/apiref.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index 80136b8..12e0c0b 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -1142,6 +1142,24 @@ other utility module.
* ``macosx-10.6-intel``
+ For AIX, Python 3.9 and later return a string starting with "aix", followed
+ by additional fields (separated by ``'-'``) that represent the combined
+ values of AIX Version, Release and Technology Level (first field), Build Date
+ (second field), and bit-size (third field). Python 3.8 and earlier returned
+ only a single additional field with the AIX Version and Release.
+
+ Examples of returned values on AIX:
+
+ * ``aix-5307-0747-32`` # 32-bit build on AIX ``oslevel -s``: 5300-07-00-0000
+
+ * ``aix-7105-1731-64`` # 64-bit build on AIX ``oslevel -s``: 7100-05-01-1731
+
+ * ``aix-7.2`` # Legacy form reported in Python 3.8 and earlier
+
+ .. versionchanged:: 3.9
+ The AIX platform string format now also includes the technology level,
+ build date, and ABI bit-size.
+
.. function:: convert_path(pathname)