Re: [PATCH] python: open messages in binary mode

Subject: Re: [PATCH] python: open messages in binary mode

Date: Fri, 25 Aug 2017 06:08:47 +0000

To: David Bremner, Florian Klink,


From: Gaute Hope

David Bremner writes on august 25, 2017 0:11:
> Florian Klink <> writes:
>> To fix this, read file in binary mode and pass to
>> email.message_from_binary_file(fp).
> Thanks for the patch, but notmuch is not (yet) python3 only. Apparently
> that function is only since python 3.2. I'm not sure if/when we'll drop
> python 2.7 support, but not without deprecating it for a few releases.

Is there anyone still exclusively on Python 2.7? Perhaps the time is 
ripe for starting that process? Encoding compatability is an unholy mess 
to maintain for one Python distro.

Is any of alot, afew, etc still on Python 2 only?

Regards, Gaute

notmuch mailing list