David Bremner <da...@tethera.net> writes:

> On a host running Debian Stable with python 3.9.2, and notmuch 0.31.4,
> both of the attached programs work fine. On my developement host running
> notmuch 0.34, both segfault when trying to fetch the 'to' header. This
> invokes a more complicated code path, which seems to have broken
> sometime between 0.31.4 and 0.34.
> I guess something changed in the library that the bindings need to catch
> up with.
> import notmuch2
> db=notmuch2.Database()
> m=db.find('20211026002252.2823593-1-aus...@austinray.io')
> frm=m.header('from')
> print(frm)
> to=m.header('To')
> print(to)

This is fixed for the new python bindings in commit 0.34.1-9-gd7f95724;
should be part of 0.34.2.

I think I'm going to ignore the problem with the old bindings, since it
pertains to a new feature, and people wanting new features should
migrate away from the deprecated bindings.

notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to