[New-bugs-announce] [issue3410] platform.version() don't work as expected in Vista in portuguese
Felipe Portella
report at bugs.python.org
Fri Jul 18 21:49:55 CEST 2008
New submission from Felipe Portella <felipe at portella.com.br>:
Using Vista in Portuguese platform.version is returning "32bits"
instead of "6.0.6001". This is because in file platform.py line 379
thee regular expression try to search for the word "Version" in
english, while in Portuguese the command ver will return "Versão".
To solve this issue simple change:
'Version ([\d.]+))')
for
'\S+ ([\d.]+))')
----------
components: Library (Lib)
messages: 69987
nosy: portella
severity: normal
status: open
title: platform.version() don't work as expected in Vista in portuguese
type: behavior
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3410>
_______________________________________
More information about the New-bugs-announce
mailing list