diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-18 18:51:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 18:51:35 (GMT) |
commit | 60875db2f67815d7d181c552bfac59e8c97619e3 (patch) | |
tree | 40386e3a14aa25da82d51e63690d098c758d980f /Lib | |
parent | 17d0c0595e101c4ce76b58e55de37e6b5083e6cd (diff) | |
download | cpython-60875db2f67815d7d181c552bfac59e8c97619e3.zip cpython-60875db2f67815d7d181c552bfac59e8c97619e3.tar.gz cpython-60875db2f67815d7d181c552bfac59e8c97619e3.tar.bz2 |
bpo-35516: platform.system_alias() don't replace Darwin (GH-11207)
Add a comment explaining why system_alias() doesn't alias Darwin to
macOS.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/platform.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index 9dd3f47..2ab68ae 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -514,6 +514,9 @@ def system_alias(system, release, version): # In case one of the other tricks system = 'Windows' + # bpo-35516: Don't replace Darwin with macOS since input release and + # version arguments can be different than the currently running version. + return system, release, version ### Various internal helpers |