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 Retro
Recipients JJeffries, Retro, belopolsky, christian.heimes, eric.araujo, georg.brandl, ixokai, r.david.murray, tim.golden, twouters
Date 2010-12-01.21:21:32
SpamBayes Score 2.0968992e-06
Marked as misclassified No
Message-id <AANLkTin+Fn=D1bDvcRJ_w+FOBT26CU9OvxJx7s7vpEOQ@mail.gmail.com>
In-reply-to <1291238171.85.0.949289838058.issue10092@psf.upfronthosting.co.za>
Content
Yes, I know this issue is closed but I wonder how could your Python
interpreter not error on
>>> calendar.LocaleTextCalendar(locale='fr_FR').formatmonthname(2010,10,10)

Please retry executing the above line of code in Python 2.7.1 interpreter
and tell me if you get an error. I get this:
>>> import calendar
>>> calendar.LocaleTextCalendar(locale='fr_FR').formatmonthname(2010,10,10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\calendar.py", line 522, in formatmonthname
    with TimeEncoding(self.locale) as encoding:
  File "C:\Python27\lib\calendar.py", line 490, in __enter__
    _locale.setlocale(_locale.LC_TIME, self.locale)
  File "C:\Python27\lib\locale.py", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
Files
File name Uploaded
unnamed Retro, 2010-12-01.21:21:32
History
Date User Action Args
2010-12-01 21:21:41Retrosetrecipients: + Retro, twouters, georg.brandl, ixokai, belopolsky, christian.heimes, tim.golden, eric.araujo, r.david.murray, JJeffries
2010-12-01 21:21:32Retrolinkissue10092 messages
2010-12-01 21:21:32Retrocreate