Python 2.6 incompatibilities

Bug #293178 reported by Heiko Rommel
10
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
High
Barry Warsaw

Bug Description

Mailman uses the md5 and sha modules in numerous places.
The usage of these modules is deprecated in Python 2.6.
The errors look like this:

/usr/lib/mailman/bin/update:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha

Related branches

Revision history for this message
Heiko Rommel (rommel-suse) wrote :
Changed in mailman:
assignee: nobody → barry
description: updated
Revision history for this message
Barry Warsaw (barry) wrote :

I have a branch that fixes this and other Python 2.6 compatibility problems. I'm just doing a little more testing, but I will push the branch for review asap.

Revision history for this message
Barry Warsaw (barry) wrote :

String exceptions are no longer supported in Python 2.6. See bug 297628

Changed in mailman:
importance: Undecided → High
Barry Warsaw (barry)
Changed in mailman:
status: New → Fix Committed
Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.