locale.getlocale() strange behaviour

Benoît Dejean bnetNOSPAM at ifrance.com
Wed Mar 3 01:02:03 EST 2004


Le Tue, 02 Mar 2004 20:09:26 -0600, Jeff Epler a écrit :
> 
> In Python2.2 on my system, setlocale() is called by rl_initialize() when
> I run the interactive interpreter.
> $ python -c 'import locale; import readline; print locale.getlocale()'
> ['en_US', 'utf']
> this may explain the behavior you noticed.

thanks a lot




More information about the Python-list mailing list