Dmitry Jemerov added the comment: Why exactly does this matter? UTF-8 not being a valid LC_CTYPE value simply means that no one running Linux will ever have LC_CTYPE set to UTF-8, and the branch will never be hit.
OTOH, adding the check will make the code harder to test and simply larger (no code is always better than any non-zero amount of code). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18378> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com