[ python-Bugs-1036506 ] Email module's feed parser
SourceForge.net
noreply at sourceforge.net
Tue Sep 28 22:00:39 CEST 2004
Bugs item #1036506, was opened at 2004-09-28 14:59
Message generated for change (Settings changed) made by mdcowles
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1036506&group_id=5470
Category: Python Library
Group: Not a Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Cowles (mdcowles)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Email module's feed parser
Initial Comment:
Barry asked me to open this so as to attach the message.
If the feed parser parsers a message that has a content-type
of multipart/<something> but which contains only a single
part, the resulting Message object is internally
inconsistent: get_main_type() returns "multipart" but
is_multipart() returns False.
I don't think that this is actually a bug because figuring out
the right content-type to assign would require groveling
through the payload with a bunch of messy heuristics. It
seems to me that the standard library isn't the place for
messy heuristics.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1036506&group_id=5470
More information about the Python-bugs-list
mailing list