Petri Lehtinen <pe...@digip.org> added the comment: 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? ---------- components: +email keywords: +patch nosy: +barry, r.david.murray stage: needs patch -> patch review Added file: http://bugs.python.org/file26167/issue9559.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9559> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com