➜

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.

作者 Retro
收信人 JJeffries, Retro, belopolsky, christian.heimes, eric.araujo, georg.brandl, ixokai, r.david.murray, tim.golden, twouters
日期 2010-12-01.21:21:32
SpamBayes Score 2.0968992e-06
Marked as misclassified 否
Message-id <AANLkTin+Fn=D1bDvcRJ_w+FOBT26CU9OvxJx7s7vpEOQ@mail.gmail.com>
In-reply-to <1291238171.85.0.949289838058.issue10092@psf.upfronthosting.co.za>
内容
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:41Retro修改recipients: + Retro, twouters, georg.brandl, ixokai, belopolsky, christian.heimes, tim.golden, eric.araujo, r.david.murray, JJeffries
2010-12-01 21:21:32Retro链接issue10092 messages
2010-12-01 21:21:32Retro创建