summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py3
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