[issue1427] Error in standard module calendar

2007-11-11 Thread Damjan Georgievski

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 not work, obviosly ... let me hilight the important part
if locale is None:
locale = locale.getdefaultlocale()
???

Attached is a patch that corrects this and keeps the signature of the
method with the locale=None keyword.

--
components: Extension Modules
files: calendar.diff
messages: 57384
nosy: gdamjan
severity: normal
status: open
title: Error in standard module calendar
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file8734/calendar.diff

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1427>
__

calendar.diff
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8998] add crypto routines to stdlib

2010-09-18 Thread Damjan Georgievski

Changes by Damjan Georgievski :


--
nosy:  -gdamjan

___
Python tracker 
<http://bugs.python.org/issue8998>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1368247] unicode in email.MIMEText and email/Charset.py

2008-12-02 Thread Damjan Georgievski

Damjan Georgievski <[EMAIL PROTECTED]> added the comment:

The patch by maxua works fine with 2.6 too and solves the problem.
I'd suggest it be applied to the 2.6 branch, even if email is rewriten
for 2.7/3.x.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1368247>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8998] add crypto routines to stdlib

2010-06-15 Thread Damjan Georgievski

Damjan Georgievski  added the comment:

AFAIK, what the stdlib needs is a high-level crypto module, analogous to hashlib

--
nosy: +gdamjan

___
Python tracker 
<http://bugs.python.org/issue8998>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com