Re: segfault using python bindings

Subject: Re: segfault using python bindings

Date: Thu, 15 Nov 2018 22:13:17 +0100

To: David Bremner, David Čepelík,


From: Floris Bruynooghe


On Sun 11 Nov 2018 at 16:16 -0400, David Bremner wrote:

> David Čepelík <> writes:
>> Hello Notmuch devs,
>> I'm facing an issue trying to use the Python bindings. This trivial
>> piece of code segfaults:
>>     import notmuch
> I don't remember the details [1], but there are known conflicts between
> recent versions of python3 and the way the notmuch python bindings
> manage memory. So it could be that. There was also an initiative to
> rewrite at (python3 only?) version of the bindings that did not have
> this problem. I haven't heard much about that recently.

These are at

I'm not really convinced of the way forward last time it was discussed
on how to get them merged into notmuch itself so have failed to put in
the not insignificant effort.

I've since wondered if just getting them standalone on pypi is perhaps a
useful service in the mean time as it's relatively little effort.  And
if there eventually is a desire again to get them merged in some way
that could still be done.

notmuch mailing list