Re: [PATCH v2 1/2] python: open messages in binary mode

Subject: Re: [PATCH v2 1/2] python: open messages in binary mode

Date: Mon, 02 Oct 2017 08:04:31 -0300

To: Florian Klink, notmuch@notmuchmail.org

Cc: Andreas Rammhold

From: David Bremner


Florian Klink <flokli@flokli.de> writes:

> currently, notmuch's get_message_parts() opens the file in text mode and passes
> the file object to email.message_from_file(fp). In case the email contains
> UTF-8 characters, reading might fail inside email.parser with the following exception:
>

merged series to master. Thanks for the fix. BTW, I noticed the bug only
happens with python3.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: