bpo-35516: platform.system_alias() don't replace Darwin (GH-11207)

Add a comment explaining why system_alias() doesn't alias Darwin to
macOS.
This commit is contained in:
Victor Stinner 2018-12-18 19:51:35 +01:00 committed by GitHub
parent 17d0c0595e
commit 60875db2f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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