[issue3410] platform.version() don't work as expected in Vista in portuguese

Ezio Melotti report at bugs.python.org
Mon Jul 6 07:48:56 CEST 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Here are the results.
Windows Vista SP2 in English
  Python 3.0.1:
  >>> platform.platform()
  'Windows-Vista-6.0.6002-SP2'
  >>> platform.version()
  '6.0.6002'
  >>> platform.win32_ver()
  ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')

  Python 2.6.2:
  >>> platform.platform()
  'Windows-Vista-6.0.6002-SP2'
  >>> platform.version()
  '6.0.6002'
  >>> platform.win32_ver()
  ('Vista', '6.0.6002', 'SP2', u'Multiprocessor Free')

Windows 2003 Server SP2 in English
  Python 3.1
  >>> platform.platform()
  'Windows-2003Server-5.2.3790-SP2'
  >>> platform.version()
  '5.2.3790'
  >>> platform.win32_ver()
  ('2003Server', '5.2.3790', 'SP2', 'Uniprocessor Free')

Everything seems fine, however I don't have any non-English Windows
here. Do you know if it's possible to download and install language
packs and if they may affect the text in the version? If so, I could try
to do it and see if I can reproduce the original issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3410>
_______________________________________


More information about the Python-bugs-list mailing list