Stefan Krah added the comment: 3d805bee06e2 uses str.lower(), which fails on the Turkish 'i' if the Turkish locale is set:
Python 2.7.6+ (2.7:0e5df5b62488+, Jan 10 2014, 23:25:35) [GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_CTYPE, ('tr_TR', 'ISO8859-9')) 'tr_TR.ISO8859-9' >>> 'tr_TR.ISO8859-9'.lower() 'tr_tr.\xfdso8859-9' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com