locale.setlocale problems

Ksenia Marasanova ksenia at ksenia.nl
Sat Oct 2 05:26:47 EDT 2004


> Python relies on the operating system here, so please bring
> this up with your OS vendor.

Okay, I got it now. Thanks for the explanation.

>> And the last question: when I change locale in a Python application, 
>> it affects only the current namespace, right? I hope so... :)
>
> Not sure what a namespace is, in this context, but I guess the answer 
> is
> "yes".

With 'namespace' I meant only the module when the locale is changed, so 
it not affects other scripts that run at the same time on the system. I 
misunderstood locale as being some system-wide 'registry' which 
remembers the changes in it. (have some vague, bad memories about 
changing locale in an ASP application... :-)

Thank you,
Ksenia.





More information about the Python-list mailing list