New submission from Michael Dudley <emddud...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43865>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to