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

Eryk Sun report at bugs.python.org
Tue Oct 5 17:31:26 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

The _WIN32_CLIENT_RELEASES table based on major.minor version number isn't helpful since Windows 10 and 11 have the same version number. win32_ver() needs a workaround to return release "11" if the build number is 22000 or greater. Is there any need/desire to also identify Server 2016, 2019, and 2022?

----------
nosy: +eryksun

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


More information about the Python-bugs-list mailing list