Terry J. Reedy added the comment: The only locale setting is IOBinding.py: 21 # Try setting the locale, so that we can find out what encoding to use locale.setlocale(locale.LC_CTYPE, "") This section, up to line 65, might be wrapped either by a function or if statement.
There are only 2 os.environ accesses and no settings in Idle. This alteration might be inherited from tkinter. File tkinter/_fix.py sets TCL/TK/TIX_LIBRARY if they are not already. This seem innocuous as far as other tests go. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com