[issue45382] platform() is not able to detect windows 11

2022-03-27 Thread Evernow
Evernow added the comment: As mentioned wmic is deprecated ( https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic ). I don't see why the wmi module ( https://pypi.org/project/WMI/ ) can't be used instead to get the information, I have a working implementation of this th

[issue46869] platform.release() and sys returns wrong version on Windows 11

2022-02-26 Thread Evernow
New submission from Evernow : Hello. On Windows 11 the platform module returns Windows 10 instead of Windows 11, same for the sys module. Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "