[Patches] [ python-Patches-1119016 ] fix for a bug in
Header.__unicode__()
SourceForge.net
noreply at sourceforge.net
Wed Feb 9 01:55:02 CET 2005
Patches item #1119016, was opened at 2005-02-09 01:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1119016&group_id=5470
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Björn Lindqvist (sonderblade)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for a bug in Header.__unicode__()
Initial Comment:
In three places in the __unicode__ method there is a
line that looks like this:
if lastcs not in (None, 'us-ascii'):
They will generate a TypeError because lastcs is a
Charset object. This patch fixes this bug by using
(None, Charset('us-ascii')) instead.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1119016&group_id=5470
More information about the Patches
mailing list