homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinweh
Recipients
Date 2002年05月10日.21:02:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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. 
 
 
History
Date User Action Args
2007年08月23日 14:01:14adminlinkissue554676 messages
2007年08月23日 14:01:14admincreate

AltStyle によって変換されたページ (->オリジナル) /