Message123015
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 |
File name |
Uploaded |
unnamed
|
Retro,
2010-12-01.21:21:32
|
|
Date |
User |
Action |
Args |
2010-12-01 21:21:41 | Retro | set | recipients:
+ Retro, twouters, georg.brandl, ixokai, belopolsky, christian.heimes, tim.golden, eric.araujo, r.david.murray, JJeffries |
2010-12-01 21:21:32 | Retro | link | issue10092 messages |
2010-12-01 21:21:32 | Retro | create | |
|