Re: [PATCH] python: add bindings for notmuch_message_get_propert(y/ies)

Subject: Re: [PATCH] python: add bindings for notmuch_message_get_propert(y/ies)

Date: Thu, 30 Nov 2017 09:44:19 -0400

To: Floris Bruynooghe, Daniel Kahn Gillmor, Ruben Pollan, notmuch@notmuchmail.org

Cc:

From: David Bremner


Floris Bruynooghe <flub@devork.be> writes:

> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
>
> This also has the binary question problem, is this returned as bytes or
> as str?  Current Python bindings seem to go for .decode('utf-8',
> errors='ignore') afaik which is somewhat lossy.
>

IMHO there's no reason to support non-utf8 properties. We should
document this restriction now while adoption is relatively light.

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

Thread: