[ python-Bugs-854102 ] Message.get_filename() problem
SourceForge.net
noreply at sourceforge.net
Wed May 12 10:28:56 EDT 2004
Bugs item #854102, was opened at 2003-12-04 16:26
Message generated for change (Comment added) made by nemethe
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=854102&group_id=5470
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ervin Németh (nemethe)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Message.get_filename() problem
Initial Comment:
There are obviously e-mails with non-standard encodings
(who wants to join me hating pine?)
See attached backtrace.
A local patch of
- return unicode(newvalue[2], newvalue[0] or
'us-ascii')
+ try:
+ return unicode(newvalue[2],
newvalue[0] or 'us-ascii')
+ except LookupError:
+ return unicode(newvalue[2],
'us-ascii', 'replace')
solved the problem here.
----------------------------------------------------------------------
>Comment By: Ervin Németh (nemethe)
Date: 2004-05-12 16:28
Message:
Logged In: YES
user_id=768522
Barry, sorry but it is 6 month since the report. The mail
causing the problem is long lost.
You could try contacting Gregor Maier who commented on
mailman bug 803729 recently. He is at
http://sourceforge.net/users/maiergre/
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2004-05-10 16:50
Message:
Logged In: YES
user_id=12800
Please attach a sample test case to illustrate the problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=854102&group_id=5470
More information about the Python-bugs-list
mailing list