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 lilydjwg
Recipients lilydjwg
Date 2012-06-29.05:47:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340948825.65.0.977158180544.issue15222@psf.upfronthosting.co.za>
In-reply-to
Content
I find that when mbox writes mails back, it loses the last end-of-line, making appending new mails to the mbox becomes incorrect.

I'm using Linux. In _singlefileMailbox.flush(), when writing the mbox, it loses the last byte ('\n') at the end of each message (because the position from '_toc' is inclusive), and mbox._pre_message_hook() adds it back, but only between two messages. So the last message ends without a '\n'.
History
Date User Action Args
2012-06-29 05:47:05lilydjwgsetrecipients: + lilydjwg
2012-06-29 05:47:05lilydjwgsetmessageid: <1340948825.65.0.977158180544.issue15222@psf.upfronthosting.co.za>
2012-06-29 05:47:04lilydjwglinkissue15222 messages
2012-06-29 05:47:03lilydjwgcreate