Stefan Krah <stefan-use...@bytereef.org> added the comment: The Fedora bot fails because here ...
locale.setlocale(locale.LC_CTYPE, loc) loc = ('tr_TR', 'ISO8859-9'), and apparently setlocale can only handle "tr_TR", but not "tr_TR.ISO8859-9": 144 if (locale) { 145 /* set locale */ 146 result = setlocale(category, locale); 147 if (!result) { 148 /* operation failed, no setting was changed */ 149 PyErr_SetString(Error, "unsupported locale setting"); 150 return NULL; (gdb) p result = setlocale(category, "tr_TR.ISO8859-9") $8 = 0x0 (gdb) p result = setlocale(category, "tr_TR") $9 = 0x96d770 "tr_TR" (gdb) p locale $10 = 0x7ffff0f6a5b0 "tr_TR.ISO8859-9" (gdb) ---------- nosy: +skrah _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com