bpoaugust added the comment:

Attached please find patch which works for me.

To use it independently of email, do something like:

messages = mailbox.mbox(filename, MboxoFactory)

where:

class MboxoFactory(mailbox.mboxMessage):
    def __init__(self, message=None):
        super().__init__(message=MboxoReader(message))

HTH

----------
Added file: http://bugs.python.org/file46017/mboxo_patch.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to