This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author James Domingo
Recipients James Domingo
Date 2016-08-30.00:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472517244.47.0.778989197753.issue27890@psf.upfronthosting.co.za>
In-reply-to
Content
The platform.release() function in Python 3.5.1 returns the correct value on Windows 2008 Server R2:

  C:\Users\jdoe\Documents\Python>python-3.5.1-embed-amd64\python.exe
  Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AM
  D64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import platform
  >>> platform.release()
  '2008ServerR2'

However, the function in the latest release, Python 3.5.2, misidentifies the system as Windows 7:

  C:\Users\jdoe\Documents\Python>python-3.5.2-embed-amd64\python.exe
  Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AM
  D64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import platform
  >>> platform.release()
  '7'
History
Date User Action Args
2016-08-30 00:34:04James Domingosetrecipients: + James Domingo
2016-08-30 00:34:04James Domingosetmessageid: <1472517244.47.0.778989197753.issue27890@psf.upfronthosting.co.za>
2016-08-30 00:34:04James Domingolinkissue27890 messages
2016-08-30 00:34:02James Domingocreate