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 ixokai
Recipients JJeffries, Retro, belopolsky, christian.heimes, eric.araujo, georg.brandl, ixokai, twouters
Date 2010-10-20.06:15:46
SpamBayes Score 8.809842e-11
Marked as misclassified No
Message-id <1287555350.67.0.319826822923.issue10092@psf.upfronthosting.co.za>
In-reply-to
Content
I can't be entirely sure, because a) I have never even glanced at the calendar module, and b) my locale-fu is very weak, but my buildbot has consistently failed on this test since this commit:


======================================================================
ERROR: test_localecalendars (test.test_calendar.CalendarTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/test_calendar.py", line 264, in test_localecalendars
    locale=def_locale).formatmonthname(2010, 10, 10)
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/calendar.py", line 520, in formatmonthname
    with different_locale(self.locale):
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/calendar.py", line 490, in __enter__
    _locale.setlocale(_locale.LC_TIME, self.locale)
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/locale.py", line 538, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

I will look into it in more detail tomorrow to try to provide more meaningful feedback, but I think this "fix" has introduced a problem. If someone sees what before I have time to dig into this unfamiliar territory, yay. :)
History
Date User Action Args
2010-10-20 06:15:51ixokaisetrecipients: + ixokai, twouters, georg.brandl, belopolsky, christian.heimes, eric.araujo, Retro, JJeffries
2010-10-20 06:15:50ixokaisetmessageid: <1287555350.67.0.319826822923.issue10092@psf.upfronthosting.co.za>
2010-10-20 06:15:47ixokailinkissue10092 messages
2010-10-20 06:15:46ixokaicreate