[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-30 Thread Ron DuPlain
Ron DuPlain added the comment: For what it's worth, I ran these tests on Ubuntu 8.10 with Python trunk (2.7) r70765 (svn). All tests passed. Output is attached (cleaned out ref counts). --rduplain -- nosy: +rduplain Added file: http://bugs.python.org/file13503/trunk.r70765.

[issue5430] imaplib: must not replace LF or CR by CRLF in literals

2009-04-25 Thread Ron DuPlain
Ron DuPlain added the comment: 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 o

[issue5430] imaplib: must not replace LF or CR by CRLF in literals

2009-04-26 Thread Ron DuPlain
Ron DuPlain added the comment: Module imaplib has pretty sparse test code. There is only 1 test case, for imaplib.Time2Internaldate. trunk/Lib/test/test_imaplib.py The attached patch tests for LF, CR preservation with regard to the IMAP4.append method, but more testing is necessary to make