locale.CODESET / different in python shell and scripts
"Martin v. Löwis"
martin at v.loewis.de
Wed Apr 28 14:28:57 EDT 2004
Michael Hudson wrote:
>>It is uncertain why this happens - setlocale is not normally
>>called automatically; not even in interactive mode. Perhaps
>>you have created your own startup file?
>
>
> readline calls setlocale() iirc.
Sure. However, we restore the locale to what it was before
readline initialization messes with the locale.
Regards,
Martin
More information about the Python-list
mailing list