lilydjwg <lilyd...@gmail.com> added the comment: I think I got something wrong. It seems that it only happens when the last message is deleted.
I've also made up a sample mbox attached. The code to reproduce: from mailbox import mbox mb = mbox('mbox') del mb[len(mb)-1] mb.close() ---------- status: pending -> open Added file: http://bugs.python.org/file26206/mbox _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com