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, python-dev, r.david.murray
Date 2012-06-28.13:20:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340889601.29.0.921948578938.issue9559@psf.upfronthosting.co.za>
In-reply-to
Content
The _pre_mailbox_hook may be called twice, like this:

babyl = mailbox.Babyl('new_file')
babyl.add('foo\n')
babyl.remove(0)
babyl.add('bar\n')

This only affects Babyl, that writes the mailbox header in _pre_mailbox_hook. The mailbox is corrupted on disk until flush() is called.
History
Date User Action Args
2012-06-28 13:20:01petri.lehtinensetrecipients: + petri.lehtinen, barry, akuchling, r.david.murray, chrisisbd, python-dev
2012-06-28 13:20:01petri.lehtinensetmessageid: <1340889601.29.0.921948578938.issue9559@psf.upfronthosting.co.za>
2012-06-28 13:20:00petri.lehtinenlinkissue9559 messages
2012-06-28 13:20:00petri.lehtinencreate