email/Message.py set_charset() barfs on unicode, breaks mailman digesting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.4
mailman digests breaks with python2.4's email module, e.g.
Apr 29 13:44:22 2008 (31878) Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
keepqueued = self._dispose(
File "/usr/lib/
mlist.
File "/var/lib/
h.processUn
File "/usr/lib/
m = mbox.next()
File "/usr/lib/
return self.factory(
File "/var/lib/
return mailbox.scrub(msg)
File "/var/lib/
return self._scrubber(
File "/var/lib/
replace_
File "/var/lib/
msg.
File "/usr/lib/
self.
File "/usr/lib/
raise TypeError(charset)
TypeError: windows-1252
The attached patch fixes the problem for us. From a brief glance, it appears this has been fixed in python2.5.
This bug was fixed in the package python2.4 - 2.4.5-3ubuntu1
---------------
python2.4 (2.4.5-3ubuntu1) intrepid; urgency=low
* Merge with Debian; remaining changes:
- Include pregenerated documentation.
- Build the -doc package from this source.
python2.4 (2.4.5-3) unstable; urgency=low
* Backport new function signal. set_wakeup_ fd from the trunk. bugzilla. gnome.org/ show_bug. cgi?id= 481569 pythonXY. zip on sys.path. Closes: #474338. README. source.
Background: http://
* Fix some lintian warnings.
* Do not add /usr/lib/
* Install the plistlib.py module in sys.path (as done on the trunk).
Closes: #386738.
* Fix email/Message.py set_charset() barfing on unicode. LP: #224182.
* Add debian/
python2.4 (2.4.5-2) unstable; urgency=low
* Fix CVE-2008-1679, integer overflows in the imageop module. FromStringAndSi ze() to be
* Fix CVE-2008-1721, integer signedness error in the zlib extension module.
* Fix CVE-2008-1887, issue2587, PyString_
considered unsafe.
* Patches prepared by Moritz Muehlenhoff.
-- Matthias Klose <email address hidden> Wed, 25 Jun 2008 13:43:30 +0200