Martin v. Löwis <mar...@v.loewis.de> added the comment: > Can we tell about getdefaultlocale’s uselessness in the docs?
I haven't quite understood what people want to use that function for. If we knew the typical use cases, we could make recommendations what they should use instead. One use case is to find out the encoding of the locale, in order to encode files. People should use locale.getpreferredencoding instead, or trust that the io module will find out on its own. However, these cases seem to be different. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8374> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com