]> granicus.if.org Git - python/commit
bpo-36588: On AIX, remove major version from sys.platform (GH-12787)
authorMichael Felt <aixtools@users.noreply.github.com>
Fri, 12 Apr 2019 14:15:32 +0000 (16:15 +0200)
committerVictor Stinner <vstinner@redhat.com>
Fri, 12 Apr 2019 14:15:32 +0000 (16:15 +0200)
commit9d949f7796da612f1b588d18c6f041376992a9fc
tree63decb39986d71d9f431cf17d8806e511126b7a2
parent9b8314cfe29ca532fc335277f6c36b72e6132922
bpo-36588: On AIX, remove major version from sys.platform (GH-12787)

On AIX, sys.platform doesn't contain the major version anymore.
Always return 'aix', instead of 'aix3' .. 'aix7'.  Since
older Python versions include the version number, it is recommended to
always use sys.platform.startswith('aix').
Doc/library/sys.rst
Doc/whatsnew/3.8.rst
Misc/NEWS.d/next/Core and Builtins/2019-04-11-14-36-55.bpo-36588.wejLoC.rst [new file with mode: 0644]
configure
configure.ac