Johannes Bauer wrote:

> I'm seeing some weird crosstalk between them which I do not understand.
> In particular, crosstalk concerning the locales of the two. One
> application needs to output, e.g., date information using a German
> locale. It uses locale.setlocale to set its LC_ALL to de_DE.UTF-8.
> 
> Now the second application doesn't need nor want to be German. It wants
> to see the C locale everywhere, in particular because at some point it
> uses datetime.datetime.strptime() to parse a datetime.

There is a library that might interest you. Babel allows multiple locales in 
the same process. See

http://babel.pocoo.org/


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to