-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
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.
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
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.
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.
Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
iQCVAwUBSdE8eXEjvBPtnXfVAQLxnwP+JgOPzMyy/d41SQLYAgnJWkJLNfmrHmq6
KkgyCC2drzZdd1lZvK5IuiGKEYmS0kQZF/dHUviXkqZgW2OUIp40zB59gbCg8AYD
xAP21n+H/3bpD+xMuo3rbUh5Ft1GAsx/QGZQUUM1jyhlPU/xEY7QzbSVOf6L7xId
Na5W/CZwEpE=
=pS1Z
-----END PGP SIGNATURE-----
_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com