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

Windows 8.1 and Windows Server 2012 R2 are not displayed properly #67605

Closed
gschizas mannequin opened this issue Feb 9, 2015 · 2 comments
Closed

Windows 8.1 and Windows Server 2012 R2 are not displayed properly #67605

gschizas mannequin opened this issue Feb 9, 2015 · 2 comments
Labels
OS-windows stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@gschizas
Copy link
Mannequin

gschizas mannequin commented Feb 9, 2015

BPO 23417
Nosy @tjguk, @zware, @zooba, @gschizas
Superseder
  • bpo-19143: Finding the Windows version getting messier (detect windows 8.1?)
  • Files
  • Python 3.5a1 - platform.py.patch: Patch to fix platform.py for Windows 8.1 and Windows Server 2012 R2
  • 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 = None
    closed_at = <Date 2015-02-09.14:10:12.875>
    created_at = <Date 2015-02-09.06:03:01.590>
    labels = ['type-bug', 'library', 'OS-windows']
    title = 'Windows 8.1 and Windows Server 2012 R2 are not displayed properly'
    updated_at = <Date 2015-02-09.14:10:12.874>
    user = 'https://github.com/gschizas'

    bugs.python.org fields:

    activity = <Date 2015-02-09.14:10:12.874>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-02-09.14:10:12.875>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2015-02-09.06:03:01.590>
    creator = 'gschizas'
    dependencies = []
    files = ['38050']
    hgrepos = []
    issue_num = 23417
    keywords = ['patch']
    message_count = 2.0
    messages = ['235592', '235610']
    nosy_count = 4.0
    nosy_names = ['tim.golden', 'zach.ware', 'steve.dower', 'gschizas']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '19143'
    type = 'behavior'
    url = 'https://bugs.python.org/issue23417'
    versions = ['Python 3.5']

    @gschizas
    Copy link
    Mannequin Author

    gschizas mannequin commented Feb 9, 2015

    Python on Windows can now can understand that it's on Windows 8.1 and Windows Server 2012 R2, but platform.py hasn't been updated, and claims it's on "post2012Server":

    >>> import platform
    >>> print(platform.win32_ver())
    ('post2012Server', '6.3.9600', '', 'Multiprocessor Free')

    The function win32_ver (which most of the platform library relies upon) should be changed, to include Windows 8.1 and Windows Server 2012 R2. I've attached a patch file that does that

    @gschizas gschizas mannequin added stdlib Python modules in the Lib dir OS-windows type-bug An unexpected behavior, bug, or error labels Feb 9, 2015
    @zooba
    Copy link
    Member

    zooba commented Feb 9, 2015

    We're already tracking this at bpo-19143, where I've got a future proofed version of the function. Thanks for the prod though, I'll try and get some action going again.

    @zooba zooba closed this as completed Feb 9, 2015
    @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