This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients
Date 2004-12-05.03:30:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=12800

I have a fix for this which I'll commit to the CVS head and
release24-maint.  The problem is caused by a place where
readline() could have returned NeedsMoreData, but that case
wasn't being checked.  If you use email.message_from_*, that
uses the Parser interface, which reads the text in 8192 byte
chunks.  The test message just happens to have the first
8192 chunk fall inside a line in the
message/delivery-status, which was the block that had the
readline() that failed to check for NeedsMoreData.

BTW, you can work around this by using the FeedParser
interface directly, since that doesn't chunk the input.
History
Date User Action Args
2007-08-23 14:27:56adminlinkissue1076485 messages
2007-08-23 14:27:56admincreate