Re: Python bindings and Xapian exceptions

Subject: Re: Python bindings and Xapian exceptions

Date: Mon, 15 Dec 2014 21:41:24 +0100

To: Matt, notmuch@notmuchmail.org

Cc:

From: David Bremner


Matt <mattator@gmail.com> writes:

>> > But for exceptions in general, yes the notmuch library does need to be
>> > fixed to allow the caller of functions to distinguish between things
>> > like "no matches found" and "an exception occurred, so it's unknown if
>> > any messages match the search". That's a general class of library
>> > interface bugs that all need to be fixed.
>
> I 've also hit this *API bug* and was wondering if a fix had been done since
> then (I use notmuch 0.17) ? I found nothing on http://notmuchmail.org/news/ 

Can you be more specific? I'd say in general no thorough overhaul of
error handling has happened, but if you can tell us what particular
libnotmuch function (or the equivalient python binding) you are having
trouble with, we may be able to give a more informative answer.

d

Thread: