[Python-checkins] cpython (2.7): Issue #25824: Fixes sys.winver to not include any architecture suffix.

steve.dower python-checkins at python.org
Sat Jan 16 16:42:03 EST 2016


https://hg.python.org/cpython/rev/b91c323a605e
changeset:   99937:b91c323a605e
branch:      2.7
parent:      99924:daff4ced1b32
user:        Steve Dower <steve.dower at microsoft.com>
date:        Sat Jan 16 13:41:48 2016 -0800
summary:
  Issue #25824: Fixes sys.winver to not include any architecture suffix.

files:
  Misc/NEWS            |  2 ++
  PCbuild/python.props |  1 -
  2 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -88,6 +88,8 @@
 Build
 -----
 
+- Issue #25824: Fixes sys.winver to not include any architecture suffix.
+
 - Issue #25348: Added ``--pgo`` and ``--pgo-job`` arguments to
   ``PCbuild\build.bat`` for building with Profile-Guided Optimization.  The
   old ``PCbuild\build_pgo.bat`` script is now deprecated, and simply calls
diff --git a/PCbuild/python.props b/PCbuild/python.props
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -102,7 +102,6 @@
 
     <!-- The version number for sys.winver -->
     <SysWinVer>$(MajorVersionNumber).$(MinorVersionNumber)</SysWinVer>
-    <SysWinVer Condition="$(Platform) == 'Win32' or $(Platform) == 'x86'">$(SysWinVer)-32</SysWinVer>
   </PropertyGroup>
 
   <!-- Displays the calculated version info -->

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list