barry at python.org
Mon Mar 30 23:41:13 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
On Mar 30, 2009, at 3:10 PM, Tony Nelson wrote:
> I'm Tony Nelson. I've been using Python for several years and the
> package for a couple of years. I have one patch in Python for the
> 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
Hi Tony, welcome to the email sig! I'm actually sprinting on the
email package today at Pycon. Chris Withers joined me until he had to
fly home. Bug 1974 was Chris's particular itch and I now think I have
a fix for this that isn't horrible, though unfortunately it will only
land in 2.7 and shouldn't be back ported.
> 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
> 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
> across calls to .feed()). The error should be rare, only happening
> 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
> 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
> I might be persuaded to review or fix other open issues.
Very cool, thanks. I'll look at the above issues after I land the
patch for 1974.
My plan for the email package is:
* Fix what we can for Python 2.7 but be very conservative with back
ports to 2.6
* Ignore 3.0
* Work on a new API so that we can actually fix the horrible
brokenness of email in Python 3.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-----END PGP SIGNATURE-----
More information about the Email-SIG