From 923522777571ec42b6a94ac3ab3874fccb2e33b7 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 29 Jan 2012 18:08:51 +0100 Subject: [PATCH] [PATCH 1/3] NEWS: add entry for python error handling fix --- 4a/3a0ccdcd848d959a4e8708c449fa78e5d51181 | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 4a/3a0ccdcd848d959a4e8708c449fa78e5d51181 diff --git a/4a/3a0ccdcd848d959a4e8708c449fa78e5d51181 b/4a/3a0ccdcd848d959a4e8708c449fa78e5d51181 new file mode 100644 index 000000000..0639b81e3 --- /dev/null +++ b/4a/3a0ccdcd848d959a4e8708c449fa78e5d51181 @@ -0,0 +1,90 @@ +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 051E8429E41 + for ; Sun, 29 Jan 2012 09:09:11 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 G+6UrzUdeAEf for ; + Sun, 29 Jan 2012 09:09:10 -0800 (PST) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A069A429E3C + for ; Sun, 29 Jan 2012 09:09:09 -0800 (PST) +Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 268B650FAF5 + for ; Sun, 29 Jan 2012 18:09:08 +0100 (CET) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id A030BDF2A4; Sun, 29 Jan 2012 18:09:07 +0100 (CET) +Received: from thinkbox.jade-hamburg.de (unknown [10.1.1.109]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) (Authenticated sender: teythoon) + by mail.jade-hamburg.de (Postfix) with ESMTPSA id E1B8ADF2A1; + Sun, 29 Jan 2012 18:09:01 +0100 (CET) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1RrYFQ-0006Xc-GF; Sun, 29 Jan 2012 18:09:00 +0100 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +To: notmuch@notmuchmail.org +Subject: [PATCH 1/3] NEWS: add entry for python error handling fix +Date: Sun, 29 Jan 2012 18:08:51 +0100 +Message-Id: + <1327856934-24972-2-git-send-email-4winter@informatik.uni-hamburg.de> +X-Mailer: git-send-email 1.7.8.3 +In-Reply-To: + <1327856934-24972-1-git-send-email-4winter@informatik.uni-hamburg.de> +References: + <1327856934-24972-1-git-send-email-4winter@informatik.uni-hamburg.de> +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: Sun, 29 Jan 2012 17:09:11 -0000 + +Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> +--- + NEWS | 10 ++++++++++ + 1 files changed, 10 insertions(+), 0 deletions(-) + +diff --git a/NEWS b/NEWS +index 2acdce5..bee6f2e 100644 +--- a/NEWS ++++ b/NEWS +@@ -47,6 +47,16 @@ New functions + notmuch_query_add_tag_exclude supports the new tag exclusion + feature. + ++Python bindings changes ++----------------------- ++ ++Fix error handling in python bindings. ++ ++ The python bindings in 0.11 failed to detect NULL pointers being ++ returned from libnotmuch functions and thus failed to raise ++ exceptions to indicate the error condition. Any subsequent calls ++ into libnotmuch caused segmentation faults. ++ + Build fixes + ----------- + +-- +1.7.8.3 + -- 2.26.2