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

David Bremner david at tethera.net
Thu Nov 30 05:44:19 PST 2017


Floris Bruynooghe <flub at devork.be> writes:

> Daniel Kahn Gillmor <dkg at 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


More information about the notmuch mailing list