New submission from Adal Chiriliuc <adal.chiril...@gmail.com>: Running python 32 bit on Windows 7 64 bit: >>> import platform >>> platform.platform() 'Windows-post2008Server-6.1.7600'
Should be corrected to display 'Windows-7-6.1.7600' Fix: > elif maj == 6: > if min == 0: > # .................. > release = 'Vista' > else: > if productType == VER_NT_WORKSTATION: > release = 'Vista' > else: > release = '2008Server' > elif min == 1: > release = '7' > else: > release = 'post2008Server' ---------- components: Library (Lib) messages: 98920 nosy: adal severity: normal status: open title: platform module doesn't detect Windows 7 versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7863> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com