changeset: 100503:fabbfad67362 parent: 100500:a7093386efaf parent: 100501:5564cf3ba523 user: Steve Dower date: Sat Mar 12 08:07:34 2016 -0800 files: Misc/NEWS description: Issue #26513: Fixes platform module detection of Windows Server diff -r a7093386efaf -r fabbfad67362 Lib/platform.py --- a/Lib/platform.py Sat Mar 12 10:53:09 2016 +0200 +++ b/Lib/platform.py Sat Mar 12 08:07:34 2016 -0800 @@ -588,7 +588,7 @@ csd = 'SP' + csd[13:] # VER_NT_SERVER = 3 - if getattr(winver, 'product_type', None) == 3: + if getattr(winver, 'product', None) == 3: release = (_WIN32_SERVER_RELEASES.get((maj, min)) or _WIN32_SERVER_RELEASES.get((maj, None)) or release) diff -r a7093386efaf -r fabbfad67362 Misc/NEWS --- a/Misc/NEWS Sat Mar 12 10:53:09 2016 +0200 +++ b/Misc/NEWS Sat Mar 12 08:07:34 2016 -0800 @@ -201,6 +201,8 @@ Library ------- +- Issue #26513: Fixes platform module detection of Windows Server + - Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence Gedai.