[issue3410] platform.version() don't work as expected in Vista in portuguese
Marc-Andre Lemburg
report at bugs.python.org
Mon Jul 6 11:04:36 CEST 2009
Marc-Andre Lemburg <mal at egenix.com> added the comment:
Ezio Melotti wrote:
> 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')
Thanks.
> Everything seems fine, however I don't have any non-English Windows
> here.
Indeed.
> 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.
I'm not sure whether that would make a difference.
On XP this does not make a difference - I've tested this with
a German Win XP version.
I think the best strategy is to run win32_ver() through the
pdb debugger in step-by-step mode and on the Vista machine
where you saw the problem.
BTW: Do you have the win32 tools installed on that machine ?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3410>
_______________________________________
More information about the Python-bugs-list
mailing list