New submission from Guilherme Polo <[EMAIL PROTECTED]>: While fixing the tkinter demos, I found some problems when moving from mhlib to mailbox that are corrected in the attached patch.
The first fix: - for name, key_list in self.get_sequences(): + for name, key_list in self.get_sequences().iteritems(): I'm not sure someone else used the module before, or at least get_sequences() since it returns a dict and it just fails in the current code. The second fix is about the .mh_sequences file format I found here, it may have some lines with one space, or two, after its content which was causing the get_sequences() to fail too. ---------- components: Library (Lib) files: mailbox_fixes.diff keywords: patch, patch messages: 67605 nosy: gpolo severity: normal status: open title: mailbox module, two small fixes versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file10497/mailbox_fixes.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3022> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com