New submission from Giampaolo Rodola': 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. ---------- messages: 207005 nosy: giampaolo.rodola priority: normal severity: normal status: open title: sys.getwindowsversion does nto show some fields versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com