From e9775f78200dde91afd0d3e49a7736cd7443228e Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 15 Dec 2014 11:19:22 +0000 Subject: [PATCH] Re: Python bindings and Xapian exceptions --- cb/551ea15561c641067e81ad70459e08b8051c32 | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 cb/551ea15561c641067e81ad70459e08b8051c32 diff --git a/cb/551ea15561c641067e81ad70459e08b8051c32 b/cb/551ea15561c641067e81ad70459e08b8051c32 new file mode 100644 index 000000000..a7df58e9e --- /dev/null +++ b/cb/551ea15561c641067e81ad70459e08b8051c32 @@ -0,0 +1,74 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 35A8B431FBD + for ; Mon, 15 Dec 2014 03:25:11 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.502 +X-Spam-Level: +X-Spam-Status: No, score=0.502 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id f5QU6EurOqYy for ; + Mon, 15 Dec 2014 03:25:07 -0800 (PST) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B7D63431FAF + for ; Mon, 15 Dec 2014 03:25:07 -0800 (PST) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1Y0Tlv-0007aN-5l + for notmuch@notmuchmail.org; Mon, 15 Dec 2014 12:25:03 +0100 +Received: from AFontenayssB-152-1-15-159.w82-121.abo.wanadoo.fr + ([82.121.109.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Mon, 15 Dec 2014 12:25:03 +0100 +Received: from mattator by AFontenayssB-152-1-15-159.w82-121.abo.wanadoo.fr + with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Mon, 15 Dec 2014 12:25:03 +0100 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Matt +Subject: Re: Python bindings and Xapian exceptions +Date: Mon, 15 Dec 2014 11:19:22 +0000 (UTC) +Lines: 10 +Message-ID: +References: <87k4q7s43v.fsf@ut.hh.sledj.net> <878w6gis5g.fsf@SSpaeth.de> + <871v70ril7.fsf@yoom.home.cworth.org> <871v70z0y5.fsf@SSpaeth.de> +Mime-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit +X-Complaints-To: usenet@ger.gmane.org +X-Gmane-NNTP-Posting-Host: sea.gmane.org +User-Agent: Loom/3.14 (http://gmane.org/) +X-Loom-IP: 82.121.109.159 (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; + rv:34.0) Gecko/20100101 Firefox/34.0) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 15 Dec 2014 11:25:11 -0000 + + +> > 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/ + + -- 2.26.2