Author ron.duplain
Recipients memeplex, ron.duplain
Date 2009-04-25.23:38:47
SpamBayes Score 0.000323748
Marked as misclassified No
Message-id <1240702728.99.0.797063268423.issue5430@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like the IMAP4.append method is responsible for the CRLF
substitution (trunk/Lib/imaplib.py).

# defined near top of module:
MapCRLF = re.compile(r'\r\n|\r|\n')

# in append method:
self.literal = MapCRLF.sub(CRLF, message)

I'll work on a test for it this evening.

-Ron
History
Date User Action Args
2009-04-25 23:38:49ron.duplainsetrecipients: + ron.duplain, memeplex
2009-04-25 23:38:48ron.duplainsetmessageid: <1240702728.99.0.797063268423.issue5430@psf.upfronthosting.co.za>
2009-04-25 23:38:47ron.duplainlinkissue5430 messages
2009-04-25 23:38:47ron.duplaincreate