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:
parent
17d0c0595e
commit
60875db2f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue