summaryrefslogtreecommitdiffstats
path: root/Lib/email/test/data/msg_43.txt
Commit message (Collapse)AuthorAgeFilesLines
* Correctly move email package tests to Lib/test.R David Murray2011-03-211-217/+0
|
* Copying the email package back, despite its failings.Guido van Rossum2007-08-301-0/+217
|
* Remove the email package for now.Guido van Rossum2007-08-251-217/+0
| | | | | | Once Barry and the email-sig have a working new version we'll add it back. If it doesn't make the 3.0a deadline (release August 31), too bad.
* Fixes for SF #1076485, which I'll apply to the CVS head too. The problem wasBarry Warsaw2004-12-051-0/+217
caused by a self._input.readline() call that wasn't checking for the NeedsMoreData marker. msg_43.txt contains a message that illustrates the problem, when email.message_from_*() is called. That interface uses the Parser API, which splits reads into 8192 byte chunks. It so happens that for the test message, the 8192 chunk falls inside a message/delivery-status, which is where in the FeedParser the readline() call was that didn't check for NeedsMoreData. I also added an assert to unreadline() so it'll be more evident if an attempt to push back NeedsMoreData ever happens again. Bump the email package version number.