Re: Crash with Python bindings
authorKonrad Hinsen <konrad.hinsen@fastmail.net>
Tue, 12 Jan 2016 14:21:27 +0000 (15:21 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:51 +0000 (16:20 -0700)
36/5dfcee0780014d3bbfa62870fd68f3ac4c8679 [new file with mode: 0644]

diff --git a/36/5dfcee0780014d3bbfa62870fd68f3ac4c8679 b/36/5dfcee0780014d3bbfa62870fd68f3ac4c8679
new file mode 100644 (file)
index 0000000..ce07ea0
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <konrad.hinsen@fastmail.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 804B46DE0A6F\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:21:31 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.82\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.82 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, 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 EA2auQYlzV2O for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Jan 2016 06:21:29 -0800 (PST)\r
+Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\r
+ [66.111.4.28])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 6BEF66DE021E\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:21:29 -0800 (PST)\r
+Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])\r
+ by mailout.nyi.internal (Postfix) with ESMTP id 4770C20BC7\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 09:21:28 -0500 (EST)\r
+Received: from frontend1 ([10.202.2.160])\r
+ by compute2.internal (MEProxy); Tue, 12 Jan 2016 09:21:28 -0500\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.net; h=\r
+ content-type:date:from:in-reply-to:message-id:mime-version\r
+ :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=BYtjC\r
+ eWFCQoT6A88S/4RKRQ2hHI=; b=RPapV00n3gw4HHqRIQdka/R/6kSIcK7HVdAVB\r
+ AjQuf4S+amzGnYZzWjCQFZfZ+tEAaxP2lbgMLdB+Gjqtw5osfuespb0QXYfonbtO\r
+ BPPNVPs9ODdodn0+Inv+vW2eywNUZL8rgBZhymi+ljf8UKbQMSMJmdKRdMwQLLRc\r
+ nzzQUs=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=\r
+ messagingengine.com; h=content-type:date:from:in-reply-to\r
+ :message-id:mime-version:references:subject:to:x-sasl-enc\r
+ :x-sasl-enc; s=smtpout; bh=BYtjCeWFCQoT6A88S/4RKRQ2hHI=; b=D+aJ/\r
+ PqrWcBLk0qMy2eT95hOfu87M6dcNuhUtMVJWU/dg0S50DFbkbuoeUblJUDVi+yXb\r
+ TzxoOi/2sNIyT5szlpT6K5Dwg81t6sR1UMhByvfJ1EvdB/bp81B6kht3RV8nG5MU\r
+ rf+IeHaM2sY7gOILcUI19Il1ydeXi1KFJFiyMQ=\r
+X-Sasl-enc: hJfzGZ7VveZEEfU3+xfXGDVBy4j5WTv8DLDxPX3VpnB3 1452608487\r
+Received: from Konrad-Hinsens-MacBook-Pro-2.local\r
+ (soleil-ext.synchrotron-soleil.fr [195.221.0.206])\r
+ by mail.messagingengine.com (Postfix) with ESMTPA id 9F3C6C016F6;\r
+ Tue, 12 Jan 2016 09:21:27 -0500 (EST)\r
+From: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Crash with Python bindings\r
+In-Reply-To: <87bn8r54dz.fsf@zancas.localnet>\r
+References: <5694CA65.8010400@fastmail.net> <87bn8r54dz.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin13.4.0)\r
+Date: Tue, 12 Jan 2016 15:21:27 +0100\r
+Message-ID: <m160yyev4o.fsf@fastmail.net>\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 14:21:31 -0000\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
+Cheers,\r
+  Konrad.\r