On Wed, Aug 19, 2020 at 10:31:55PM +0530, Nilesh Patra wrote:
>
> For me the error goes way for me when I change line 781 in
> /usr/lib/python3.8/mailbox.py
> to:
>
> msg.set_from(from_line[5:].decode('utf-8'))
>
> May be this is a minor feature enhancement since at the moment messages with
>
Hi,
> Traceback (most recent call last):
> File "./test_mbox.py", line 6, in
>if mbox_file.items() != []:
> File "/usr/lib/python3.8/mailbox.py", line 132, in items
>return list(self.iteritems())
> File "/usr/lib/python3.8/mailbox.py", line 125, in iteritems
>value = self[key]
> F
Hi,
in the teammetrics project I'm trying to parse mailboxes. This worked
with Python2 but after porting the code to Python3 I get some encoding
troubles. A specific one seem to be an error in the mailbox module.
Please run the attached script test_mbox which downloads one of the
critical mbox f
3 matches
Mail list logo