[Python-bugs-list] [ python-Bugs-554676 ] unknown locale de_DE@euro on Suse 8.0 Linux
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 10 May 2002 14:02:32 -0700
Bugs item #554676, was opened at 2002-05-10 23:02
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=554676&group_id=5470
Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: vincent wehren (vinweh)
Assigned to: Nobody/Anonymous (nobody)
Summary: unknown locale de_DE@euro on Suse 8.0 Linux
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=554676&group_id=5470