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 akuchling, barry, chrisisbd, petri.lehtinen, r.david.murray
Date 2012-06-26.09:28:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340702920.11.0.36116024739.issue9559@psf.upfronthosting.co.za>
In-reply-to
Content
Attached a patch that doesn't rewrite+rename if messages have only been added. In this case, flush() only syncs the mailbox file to make sure all changes have been written to disk.

David & Barry: what do you think about including this on bugfix releases? Could someone depend on the file being rewritten in all situations?
History
Date User Action Args
2012-06-26 09:28:40petri.lehtinensetrecipients: + petri.lehtinen, barry, akuchling, r.david.murray, chrisisbd
2012-06-26 09:28:40petri.lehtinensetmessageid: <1340702920.11.0.36116024739.issue9559@psf.upfronthosting.co.za>
2012-06-26 09:28:39petri.lehtinenlinkissue9559 messages
2012-06-26 09:28:38petri.lehtinencreate