On Fri, Mar 07, 2008 at 04:02:12PM -0800, Mark Sapiro wrote:
> In any case, I think the
>
> hre = re.compile('^>?\s*message-id:\s*(<.*>)', re.IGNORECASE)
>
> re will likely find anything to be found and is unlikely to find false
> hits.
Excellent point! I've written up a patch using the regex:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1911318&group_id=103
One minor test-suite oddity I noticed: about a third of the bounce
messages in tests/bounces/ have mbox-style 'From VM Wed Mar 21
22:20:23 2001' header lines. Most of them seem harmless, but the one
in hotpop_01.txt breaks the email.Message() parser because the line is
">From daemon Tue Nov 13 13:43:50 2001". Worth fixing?
--amk
_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives:
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp