This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients Arfrever, BreamoreBoy, arnimar, djc, gkcn, jafo, jwilk, lemburg, pitrou, python-dev, skrah, vstinner
Date 2011-07-26.22:50:18
SpamBayes Score 0.008803744
Marked as misclassified No
Message-id <1311720619.06.0.247695360143.issue1813@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-07-26 22:50:19skrahsetrecipients: + skrah, lemburg, jafo, pitrou, vstinner, arnimar, jwilk, djc, Arfrever, BreamoreBoy, python-dev, gkcn
2011-07-26 22:50:19skrahsetmessageid: <1311720619.06.0.247695360143.issue1813@psf.upfronthosting.co.za>
2011-07-26 22:50:18skrahlinkissue1813 messages
2011-07-26 22:50:18skrahcreate