[ python-Bugs-1036506 ] Email module's feed parser
SourceForge.net
noreply at sourceforge.net
Tue Sep 28 23:22:48 CEST 2004
Bugs item #1036506, was opened at 2004-09-28 15:59
Message generated for change (Comment added) made by bwarsaw
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: Closed
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.
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2004-09-28 17:22
Message:
Logged In: YES
user_id=12800
Integrated into test suite (soon to be checked in).
----------------------------------------------------------------------
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