Walter Dörwald added the comment:
Fixed in r58942 (trunk) and r58943 (2.5). Closing the issue.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1427
__
New submission from Damjan Georgievski:
This is LocaleTextCalendar.__init__
def __init__(self, firstweekday=0, locale=None):
TextCalendar.__init__(self, firstweekday)
if locale is None:
locale = locale.getdefaultlocale()
self.locale = locale
Which can
Christian Heimes added the comment:
My patch uses import locale as _locale to avoid ambiguous variables.
It also fixes some additional bugs. I still don't understand how
prweek() should work. self.week is missing.
--
keywords: +patch
nosy: +tiran
priority: - normal
versions: +Python
Changes by Christian Heimes:
Removed file: http://bugs.python.org/file8736/calendar.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1427
__
___
Python-bugs-list mailing
Christian Heimes added the comment:
wrong file
Added file: http://bugs.python.org/file8737/calendar_fix.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1427
__Index: Lib/calendar.py
Christian Heimes added the comment:
I've applied my patch in r58936 (trunk) and r58937 (2.5 branch).
I'm assigning the bug to Walter. Maybe he is able to shed some light on
the prweek() issue.
$ svn ann Lib/calendar.py | grep self\.week
43483 walter.doerwald print self.week(theweek,