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 petri.lehtinen
Date 2012-06-08.14:18:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339165135.64.0.720965840978.issue15036@psf.upfronthosting.co.za>
In-reply-to
Content
test_mbox is an mbox mailbox with a few messages in it.

>>> import mailbox
>>> inbox = mailbox.mbox('test_mbox')
>>> inbox.lock()
>>> inbox.popitem()
(0, <mailbox.mboxMessage instance at 0x7f78016bc680>)
>>> inbox.flush()
>>> inbox.unlock()
>>> inbox.lock()
>>> inbox.popitem()
(1, <mailbox.mboxMessage instance at 0x7f7801653320>)
>>> inbox.flush()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/mailbox.py", line 633, in flush
    (self._file_length, cur_len))
mailbox.ExternalClashError: Size of mailbox file changed (expected 141289, found 141147)
History
Date User Action Args
2012-06-08 14:18:55petri.lehtinensetrecipients: + petri.lehtinen
2012-06-08 14:18:55petri.lehtinensetmessageid: <1339165135.64.0.720965840978.issue15036@psf.upfronthosting.co.za>
2012-06-08 14:18:54petri.lehtinenlinkissue15036 messages
2012-06-08 14:18:54petri.lehtinencreate