[New-bugs-announce] [issue43865] win32_ver and getwindowsversion return different Windows 10 build numbers

Michael Dudley report at bugs.python.org
Fri Apr 16 10:00:31 EDT 2021


New submission from Michael Dudley <emddudley at gmail.com>:

On my machine platform.win32_ver() and sys.getwindowsversion() are returning different Windows build numbers. I have confirmed this with Python 3.7.6, 3.8.5, and 3.9.2 (all 64-bit) on Windows 10.

platform.win32_ver() returns:

    ('10', '10.0.18362', 'SP0', '')

sys.getwindowsversion() returns:

    major=10, minor=0, build=18363, platform=2, service_pack=''

The sys.getwindowsversion() value is correct.

The Windows About panel reports Windows 10 Enterprise, version 1909, build 18363.1440. My kernel32.dll version is 10.0.18362.1350.

----------
components: Library (Lib), Windows
messages: 391199
nosy: emddudley, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: win32_ver and getwindowsversion return different Windows 10 build numbers
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43865>
_______________________________________


More information about the New-bugs-announce mailing list