◐ Shell
clean mode source ↗

Message 127233 - Python tracker

> upon program startup, init LibC environment: setlocale(LC_ALL, "");

Python 3 does something like that: Py_InitializeEx() calls setlocale(LC_CTYPE, ""). But I (and others) consider that as a bug (see #6203 discussion): Python should not do that (nor any library) implicitly, but a *program* can do that (once) at startup (explicitly).