[ python-Bugs-1672568 ] silent error in email.message.Message.get_payload
SourceForge.net
noreply at sourceforge.net
Fri Mar 2 18:04:08 CET 2007
Bugs item #1672568, was opened at 2007-03-02 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1672568&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Not a Bug
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Renaud Blanch (blanch)
Assigned to: Nobody/Anonymous (nobody)
Summary: silent error in email.message.Message.get_payload
Initial Comment:
I rencently had trouble finding a bug in an email processing script because of an error that pass silently in the email module.
The get_payload() method in the email.message module always return something when the decode argument is set to True.
This behaviour is well documented, but is their a reason to catch the decoding errors ?
Why not let them pop-up to the calling code ?
renaud
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1672568&group_id=5470
More information about the Python-bugs-list
mailing list