Issue 20081: sys.getwindowsversion does not show some fields (original) (raw)
On Windows 7:
v = sys.getwindowsversion() v sys.getwindowsversion(major=6, minor=1, build=7600, platform=2, service_pack='') v.service_pack_major 0 v.service_pack_minor 0 v.suite_mask 254
Doc states:
For compatibility with prior versions, only the first 5 elements are retrievable by indexing.
...so I guess that's why service_pack_minor, service_pack_major and suite_mask fields are not shown. Nevertheless I think this is a inconvenience which should be fixed, at least in the next major Python version.