Message10715
Python 2.2 (#1, Mar 26 2002, 15:46:04)
[GCC 2.95.3 20010315 (SuSE)] on linux2
When calling the locale module's getdefaultlocale()
method on SuSe 8.0 Linux you get:
>>> locale.getdefaultlocale()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/locale.py", line 337, in
getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python2.2/locale.py", line 271, in
_parse_localename
raise ValueError, 'unknown locale: %s' %
localename
ValueError: unknown locale: de_DE@euro
Evidently, Python2.2's locale module is unaware of
the "somelang_SOMELANG@euro" nomenclature
for euro-enabled locales on Linux.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:01:14 | admin | link | issue554676 messages |
2007-08-23 14:01:14 | admin | create | |
|