New submission from R. David Murray <rdmur...@bitdance.com>:

See issue 10466 for background, but in short LocaleHTMLCalendar uses 
getdefaultlocale if no locale is specified, and on windows this results in a 
locale that setlocale will not accept.  The fix is presumably to use 
setlocale(LC_DATE, '') instead of getdefaultelocale.

----------
keywords: easy
messages: 122070
nosy: r.david.murray
priority: normal
severity: normal
stage: unit test needed
status: open
title: calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 
'unsupported locale setting' on Windows
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10498>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to