Message207005
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. |
|
Date |
User |
Action |
Args |
2013-12-27 17:45:42 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2013-12-27 17:45:42 | giampaolo.rodola | set | messageid: <1388166342.38.0.63182866145.issue20081@psf.upfronthosting.co.za> |
2013-12-27 17:45:42 | giampaolo.rodola | link | issue20081 messages |
2013-12-27 17:45:41 | giampaolo.rodola | create | |
|