
report at bugs
Jul 6, 2009, 4:31 AM
Post #2 of 4
(266 views)
Permalink
|
|
[issue3410] platform.version() don't work as expected in Vista in portuguese
[In reply to]
|
|
Felipe Portella <felipe [at] portella> added the comment: The same happens in Portuguese version ... the regex fails because ver returns "Versão" ... []'s On Mon, Jul 6, 2009 at 7:54 AM, Ezio Melotti <report [at] bugs> wrote: > > Ezio Melotti <ezio.melotti [at] gmail> added the comment: > > Won't that fail with Windows versions in Japanese, Chinese, Arab and > similar? > If 'Version' is translated in all the languages as a single word and > it's between whitespaces (or even between a [ and a space), \S+ should > be safe enough, otherwise \w+ with the re.U flag should work. > > ---------- > > _______________________________________ > Python tracker <report [at] bugs> > <http://bugs.python.org/issue3410> > _______________________________________ > ---------- title: platform.version() don't work as expected in Vista in portuguese -> platform.version() don't work as expected in Vista in portuguese Added file: http://bugs.python.org/file14457/unnamed _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue3410> _______________________________________
|