[mimelib-devel] Fwd: [Spambayes] Email package and the CRLFpair

Barry Warsaw barry at python.org
Sat Apr 19 00:11:24 EDT 2003

On Fri, 2003-04-18 at 19:00, Tony Meyer wrote:
> Thanks for clearing this up Barry (it nicely matches what Paul Moore
> said, too).  I guess the answer is then that we *do* need to submit a
> bug, but on imaplib, not the email package.  I'll do this.


> I didn't mean to cast any aspersions on the email package

None taken!

> - my thought
> was that since it's the internet email format (i.e. RFC2822) that
> specifies the CRLF, then the email package would handle this since all
> the protocols would need to convert it, unless they're using something
> other than RFC822.  All a matter of perspective, though, and you're the
> boss :)


I can see an option to Generator.flatten() to produce text
representations in CRLF format.  Since we're trying to design a better
interface to the Generator anyway, this is definitely a reasonable thing
to discuss.

I probably wouldn't want it to be the default though, since it's simply
more convenient to deal with newline line termination, and practicality
beats purity. :)

Note that the Parser should be able to handle any of the common line


More information about the Spambayes mailing list