[Python-Dev] RE: [spambayes-dev] bug in imap filter or in email package

Barry Warsaw barry at python.org
Sat Aug 7 17:54:07 CEST 2004


On Wed, 2004-08-04 at 21:56, Tony Meyer wrote:
> There has been a little bit of discussion on spambayes-dev about a bug with
> the 2.4a1 email package, where header lines that end with \r\n are not
> treated correctly (the value ends up with a \r at the end).
> 
> A SF bug was opened for this:
> 
> [ 1002475 ] email message parser doesn't handle \r\n correctly
> <http://sf.net/tracker/?group_id=5470&atid=105470&func=detail&aid=1002475>
> 
> I've created a patch to fix this, and a couple of tests to add to
> test_email.py:
> [ 1003693 ] Fix for 1002475 (Feedparser not handling \r\n correctly)
> <http://sf.net/tracker/index.php?func=detail&aid=1003693&group_id=5470&atid=
> 305470>
> 
> If someone would like to review this and check it in after 2.4a2 is all done
> that would be great.  Maybe someone at the bug day?  (I might come along to
> that, but it's the middle of the night, so probably not).

Patch looks good to me.  I'm checking them in (after a little stylistic
hydrant-pissing :).

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : [Python-Dev] RE: [spambayes-dev] bug in imap filter or in email
	package

	
  • Next message: [Python-Dev] Submitted socket.socketpair() patch to SF
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  • More information about the Python-Dev mailing list

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant