Re: Crash with Python bindings
authorDavid Bremner <david@tethera.net>
Tue, 12 Jan 2016 15:26:35 +0000 (11:26 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:51 +0000 (16:20 -0700)
fc/c7aa4d56cc460b8a9a652f449a0224152326fd [new file with mode: 0644]

diff --git a/fc/c7aa4d56cc460b8a9a652f449a0224152326fd b/fc/c7aa4d56cc460b8a9a652f449a0224152326fd
new file mode 100644 (file)
index 0000000..4af589e
--- /dev/null
@@ -0,0 +1,73 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 1D2E86DE0B7C\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 07:26:40 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.309\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.309 tagged_above=-999 required=5 tests=[AWL=0.242,\r
+  RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 1OuY-gGabrcZ for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Jan 2016 07:26:38 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 48C176DE0B4F\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 07:26:38 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aJ0q3-0000bi-Aq; Tue, 12 Jan 2016 10:26:27 -0500\r
+Received: (nullmailer pid 24068 invoked by uid 1000);\r
+ Tue, 12 Jan 2016 15:26:35 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Konrad Hinsen <konrad.hinsen@fastmail.net>, notmuch@notmuchmail.org\r
+Subject: Re: Crash with Python bindings\r
+In-Reply-To: <m160yyev4o.fsf@fastmail.net>\r
+References: <5694CA65.8010400@fastmail.net> <87bn8r54dz.fsf@zancas.localnet>\r
+ <m160yyev4o.fsf@fastmail.net>\r
+User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 12 Jan 2016 11:26:35 -0400\r
+Message-ID: <8737u26cpg.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 12 Jan 2016 15:26:40 -0000\r
+\r
+Konrad Hinsen <konrad.hinsen@fastmail.net> writes:\r
+\r
+> David Bremner <david@tethera.net> writes:\r
+>\r
+>>> from notmuch import Query, Database\r
+>>>\r
+>>> def foo(bar):\r
+>>>      pass\r
+>>>\r
+>>> db = Database()\r
+>>> q = Query(db, "*")\r
+>>> db.close()\r
+>>\r
+>> Do you really call the constructor without a path? Or are you censoring\r
+>> the script for some reason?\r
+>\r
+> No path means path=None, which stands for the path from\r
+> ~/.notmuch-config. That's exactly what I want. Is there some reason not\r
+> to rely on this mechanism?\r
+\r
+Oh sorry, I'm (obviously) not that familiar with the python bindings.\r
+\r
+d\r