Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform.release() incorrect in Python 3.5.2 on Windows 2008ServerR2 #72077

Closed
JamesDomingo mannequin opened this issue Aug 30, 2016 · 3 comments
Closed

platform.release() incorrect in Python 3.5.2 on Windows 2008ServerR2 #72077

JamesDomingo mannequin opened this issue Aug 30, 2016 · 3 comments
Assignees
Labels
OS-windows stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@JamesDomingo
Copy link
Mannequin

JamesDomingo mannequin commented Aug 30, 2016

BPO 27890
Nosy @pfmoore, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/zooba'
closed_at = <Date 2016-09-10.01:29:12.099>
created_at = <Date 2016-08-30.00:34:04.247>
labels = ['type-bug', 'library', 'OS-windows']
title = 'platform.release() incorrect in Python 3.5.2 on Windows 2008ServerR2'
updated_at = <Date 2016-09-10.01:29:12.097>
user = 'https://bugs.python.org/JamesDomingo'

bugs.python.org fields:

activity = <Date 2016-09-10.01:29:12.097>
actor = 'steve.dower'
assignee = 'steve.dower'
closed = True
closed_date = <Date 2016-09-10.01:29:12.099>
closer = 'steve.dower'
components = ['Library (Lib)', 'Windows']
creation = <Date 2016-08-30.00:34:04.247>
creator = 'James Domingo'
dependencies = []
files = []
hgrepos = []
issue_num = 27890
keywords = ['3.5regression']
message_count = 3.0
messages = ['273890', '273902', '275529']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'SilentGhost', 'zach.ware', 'steve.dower', 'James Domingo']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27890'
versions = ['Python 3.5']

@JamesDomingo
Copy link
Mannequin Author

JamesDomingo mannequin commented Aug 30, 2016

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'

@JamesDomingo JamesDomingo mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Aug 30, 2016
@SilentGhost
Copy link
Mannequin

SilentGhost mannequin commented Aug 30, 2016

This seems to be a consequence of bpo-26513. Would you mind re-posting your message there.

@SilentGhost SilentGhost mannequin added the OS-windows label Aug 30, 2016
@zooba
Copy link
Member

zooba commented Sep 10, 2016

Fixed on bpo-26513

@zooba zooba closed this as completed Sep 10, 2016
@zooba zooba self-assigned this Sep 10, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant