[issue3410] platform.version() don't work as expected in Vista in portuguese
Ezio Melotti
report at bugs.python.org
Mon Jul 6 12:54:49 CEST 2009
Ezio Melotti <ezio.melotti at gmail.com> 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.python.org>
<http://bugs.python.org/issue3410>
_______________________________________
More information about the Python-bugs-list
mailing list