cpython: 9db5846f126d (original) (raw)
Mercurial > cpython
changeset 100502:9db5846f126d 2.7
Issue #26513: Fixes platform module detection of Windows Server [#26513]
Steve Dower steve.dower@microsoft.com | |
---|---|
date | Sat, 12 Mar 2016 08:07:04 -0800 |
parents | 4fb167ec3108 |
children | 5e64ffe576a9 |
files | Lib/platform.py Misc/NEWS |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-)[+] [-] Lib/platform.py 2 Misc/NEWS 2 |
line wrap: on
line diff
--- a/Lib/platform.py +++ b/Lib/platform.py @@ -650,7 +650,7 @@ def win32_ver(release='', version='', cs csd = 'SP' + csd[13:] # VER_NT_SERVER = 3
- if getattr(winver, 'product', None) == 3: release = (_WIN32_SERVER_RELEASES.get((maj, min)) or _WIN32_SERVER_RELEASES.get((maj, None)) or release)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -58,6 +58,8 @@ Core and Builtins Library ------- +- Issue #26513: Fixes platform module detection of Windows Server +