I'm Tony Nelson. I've been using Python for several years and the email
package for a couple of years. I have one patch in Python for the socket
module ("[issue1519025] New ver. of 1102879: Fix for 926423: socket
timeouts"). Recently I've found that some odd things I was blaming on
other causes are bugs in the email package. I'll be filing issues with
patches.
Currently I've filed "[issue5610] email feedparser.py CRLFLF bug: $ vs \Z".
Repeatedly parsing and saving multipart messages was chewing off the
trailing lines from submessage bodies. I'd like a procedural review of
that issue and its attached files before I file more issues, so that I do
them properly.
Next is probably a fix and test for "[issue1721862]
email.FeedParser.BufferedSubFile improperly handles '\r\n'" (when split
across calls to .feed()). The error should be rare, only happening about
every 8K messages for messages longer than 8K when parsed via
parser.parse() or parser.parsestr() or email.message_from_file() or
email.message_from_string(). The fix is for .push() to treat a last line
ending with \r as ._partial. The test will call feedparser.feed()
directly, so it can use short messages and not depend on the buffer size in
parser.parse().
I might be persuaded to review or fix other open issues.
--
____________________________________________________________________
TonyN.:' <mailto:[email protected]>
' <http://www.georgeanelson.com/>
_______________________________________________
Email-SIG mailing list
[email protected]
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com