0
0
mirror of https://github.com/python/cpython.git synced 2024-11-25 09:39:56 +01:00
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
msg_37.txt
msg_38.txt
msg_39.txt
msg_40.txt
msg_41.txt
msg_42.txt
msg_43.txt
PyBanner048.gif