[PATCH] python: open messages in binary mode

Gaute Hope eg at gaute.vetsj.com
Thu Aug 24 23:08:47 PDT 2017


David Bremner writes on august 25, 2017 0:11:
> Florian Klink <flokli at flokli.de> 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



More information about the notmuch mailing list