消息 [123015]
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 |
| 文件名 |
上传时间 |
|
unnamed
|
Retro,
2010-12-01.21:21:32
|
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-12-01 21:21:41 | Retro | 修改 | recipients:
+ Retro, twouters, georg.brandl, ixokai, belopolsky, christian.heimes, tim.golden, eric.araujo, r.david.murray, JJeffries |
| 2010-12-01 21:21:32 | Retro | 链接 | issue10092 messages |
| 2010-12-01 21:21:32 | Retro | 创建 | |
|