This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petri.lehtinen
Recipients barry, lilydjwg, petri.lehtinen, r.david.murray
Date 2012-07-05.04:26:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341462386.88.0.0796324759238.issue15222@psf.upfronthosting.co.za>
In-reply-to
Content
Well, by appending newmail to the mailbox, you effectively break the next-to-last message by not inserting a newline after it. This can also be achieved by adding a message that doesn't end in a newline to the mbox (using the mailbox module).

The real bug is that mailbox doesn't insert an empty line after each message, which it should do even if the message doesn't end in a newline. This breaks appending new messages (either by cat message >> mbox or by mailbox.py itself), and it might also break mbox parsing in other programs that search for starts of messages using "\n\nFrom ".
History
Date User Action Args
2012-07-05 04:26:26petri.lehtinensetrecipients: + petri.lehtinen, barry, r.david.murray, lilydjwg
2012-07-05 04:26:26petri.lehtinensetmessageid: <1341462386.88.0.0796324759238.issue15222@psf.upfronthosting.co.za>
2012-07-05 04:26:26petri.lehtinenlinkissue15222 messages
2012-07-05 04:26:25petri.lehtinencreate