This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bugale bugale
Recipients bugale bugale, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-02-21.10:42:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613904146.72.0.850542213327.issue43284@roundup.psfhosted.org>
In-reply-to
Content
Running `platform.platform()` on Windows 10 20H2 results in the build number 19041:

Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.platform()
'Windows-10-10.0.19041-SP0'

This is incorrect, the build number is 19042.
Using ctypes like in the answer here produces a correct result:
https://stackoverflow.com/questions/32300004/python-ctypes-getting-0-with-getversionex-function
History
Date User Action Args
2021-02-21 10:42:26bugale bugalesetrecipients: + bugale bugale, paul.moore, tim.golden, zach.ware, steve.dower
2021-02-21 10:42:26bugale bugalesetmessageid: <1613904146.72.0.850542213327.issue43284@roundup.psfhosted.org>
2021-02-21 10:42:26bugale bugalelinkissue43284 messages
2021-02-21 10:42:26bugale bugalecreate