cpython: fabbfad67362 (original) (raw)
Mercurial > cpython
changeset 100503:fabbfad67362
Issue #26513: Fixes platform module detection of Windows Server [#26513]
Steve Dower steve.dower@microsoft.com | |
---|---|
date | Sat, 12 Mar 2016 08:07:34 -0800 |
parents | a7093386efaf(current diff)5564cf3ba523(diff) |
children | 6d84fe4d8cb0 |
files | 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 @@ -588,7 +588,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 @@ -201,6 +201,8 @@ Core and Builtins Library ------- +- Issue #26513: Fixes platform module detection of Windows Server +