Petri Lehtinen added the comment:

Attaching two patches.

Patch 1 changes the common message template in mailbox tests to end in a 
newline. If this wasn't done, more or less all common mailbox tests would have 
to be special cased for mbox.

Patch 2 adds a single blank line after each message in mbox. A single blank 
line is added if the added message doesn't end in a newline or ends in a single 
newline. When read back, a single newline is added to the end o the message if 
it wasn't there (and this is the reason why patch 1 is needed).

----------
keywords: +patch
Added file: 
http://bugs.python.org/file26998/issue15222_v1_0001_end_test_msg_template_in_newline.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15222>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to