cpython/Lib/email/test/data
Barry Warsaw 7cf9ce2440 Fixes for SF #1076485, which I'll apply to the CVS head too. The problem was
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.
2004-12-05 03:45:42 +00:00
..
audiotest.au
msg_01.txt
msg_02.txt
msg_03.txt
msg_04.txt
msg_05.txt
msg_06.txt
msg_07.txt
msg_08.txt
msg_09.txt
msg_10.txt
msg_11.txt
msg_12.txt
msg_12a.txt
msg_13.txt
msg_14.txt
msg_15.txt
msg_16.txt
msg_17.txt
msg_18.txt
msg_19.txt
msg_20.txt
msg_21.txt
msg_22.txt
msg_23.txt
msg_24.txt
msg_25.txt
msg_26.txt
msg_27.txt
msg_28.txt
msg_29.txt
msg_30.txt
msg_31.txt
msg_32.txt
msg_33.txt
msg_34.txt
msg_35.txt
msg_36.txt A boiled down message/external-body example from Anthony's torture test. 2004-05-11 22:20:59 +00:00
msg_37.txt An example with multiple boundary lines. 2004-05-11 22:20:05 +00:00
msg_38.txt A boiled down example from Anthony's MIME torture tests. This one has a 2004-05-13 20:12:32 +00:00
msg_39.txt Another evil test from Anthony's suite. This one has an inner part with the 2004-05-13 20:13:48 +00:00
msg_40.txt forward porting from release23-maint 2004-05-13 23:18:54 +00:00
msg_41.txt Big email 3.0 API changes, with updated unit tests and documentation. 2004-10-03 03:16:19 +00:00
msg_42.txt An example message for SF bug # 1030941. 2004-10-09 22:57:57 +00:00
msg_43.txt Fixes for SF #1076485, which I'll apply to the CVS head too. The problem was 2004-12-05 03:45:42 +00:00
PyBanner048.gif