[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Straw-devel] Re: Straw 0.20 problem on Slackware 9.1
From: |
Jan Alonzo |
Subject: |
[Straw-devel] Re: Straw 0.20 problem on Slackware 9.1 |
Date: |
Tue, 04 Nov 2003 09:44:10 +1100 |
On Tue, 2003-11-04 at 07:53, Eugenia Loli-Queru wrote:
> Here it is:
>
> bash-2.05b$ python
> Python 2.3.1 (#1, Sep 24 2003, 16:45:45)
> [GCC 3.2.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>import locale
> >>>locale.getdefaultlocale()
> (None, None)
> >>>
>
> Is this a Slackware bug you think? :o
>
> thanks,
> Eugenia
locale.getdefaultlocale examines your env for these variables in order:
LANGUAGE
LC_ALL
LC_TYPE
LANG
If none of these are found, it returns None. So I guess it's not
bulletproof. Thanks a lot for the report.
HTH
--
.''`. Jan Alonzo <jmalonzo at spaceants dot org>
: :' : "A coincidence is a scientific anomaly"
`. `' -- Grisholm, CSI
`-