[PATCH 4/8] lib: extend private string map API with iterators
[notmuch-archives.git] / 36 / 5dfcee0780014d3bbfa62870fd68f3ac4c8679
1 Return-Path: <konrad.hinsen@fastmail.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 804B46DE0A6F\r
6  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:21:31 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.82\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.82 tagged_above=-999 required=5\r
12  tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
14  RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id EA2auQYlzV2O for <notmuch@notmuchmail.org>;\r
18  Tue, 12 Jan 2016 06:21:29 -0800 (PST)\r
19 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\r
20  [66.111.4.28])\r
21  by arlo.cworth.org (Postfix) with ESMTPS id 6BEF66DE021E\r
22  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:21:29 -0800 (PST)\r
23 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])\r
24  by mailout.nyi.internal (Postfix) with ESMTP id 4770C20BC7\r
25  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 09:21:28 -0500 (EST)\r
26 Received: from frontend1 ([10.202.2.160])\r
27  by compute2.internal (MEProxy); Tue, 12 Jan 2016 09:21:28 -0500\r
28 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.net; h=\r
29  content-type:date:from:in-reply-to:message-id:mime-version\r
30  :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=BYtjC\r
31  eWFCQoT6A88S/4RKRQ2hHI=; b=RPapV00n3gw4HHqRIQdka/R/6kSIcK7HVdAVB\r
32  AjQuf4S+amzGnYZzWjCQFZfZ+tEAaxP2lbgMLdB+Gjqtw5osfuespb0QXYfonbtO\r
33  BPPNVPs9ODdodn0+Inv+vW2eywNUZL8rgBZhymi+ljf8UKbQMSMJmdKRdMwQLLRc\r
34  nzzQUs=\r
35 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=\r
36  messagingengine.com; h=content-type:date:from:in-reply-to\r
37  :message-id:mime-version:references:subject:to:x-sasl-enc\r
38  :x-sasl-enc; s=smtpout; bh=BYtjCeWFCQoT6A88S/4RKRQ2hHI=; b=D+aJ/\r
39  PqrWcBLk0qMy2eT95hOfu87M6dcNuhUtMVJWU/dg0S50DFbkbuoeUblJUDVi+yXb\r
40  TzxoOi/2sNIyT5szlpT6K5Dwg81t6sR1UMhByvfJ1EvdB/bp81B6kht3RV8nG5MU\r
41  rf+IeHaM2sY7gOILcUI19Il1ydeXi1KFJFiyMQ=\r
42 X-Sasl-enc: hJfzGZ7VveZEEfU3+xfXGDVBy4j5WTv8DLDxPX3VpnB3 1452608487\r
43 Received: from Konrad-Hinsens-MacBook-Pro-2.local\r
44  (soleil-ext.synchrotron-soleil.fr [195.221.0.206])\r
45  by mail.messagingengine.com (Postfix) with ESMTPA id 9F3C6C016F6;\r
46  Tue, 12 Jan 2016 09:21:27 -0500 (EST)\r
47 From: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
48 To: notmuch@notmuchmail.org\r
49 Subject: Re: Crash with Python bindings\r
50 In-Reply-To: <87bn8r54dz.fsf@zancas.localnet>\r
51 References: <5694CA65.8010400@fastmail.net> <87bn8r54dz.fsf@zancas.localnet>\r
52 User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1\r
53  (x86_64-apple-darwin13.4.0)\r
54 Date: Tue, 12 Jan 2016 15:21:27 +0100\r
55 Message-ID: <m160yyev4o.fsf@fastmail.net>\r
56 MIME-Version: 1.0\r
57 Content-Type: text/plain\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.20\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62  <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
64  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Tue, 12 Jan 2016 14:21:31 -0000\r
71 \r
72 David Bremner <david@tethera.net> writes:\r
73 \r
74 >> from notmuch import Query, Database\r
75 >>\r
76 >> def foo(bar):\r
77 >>      pass\r
78 >>\r
79 >> db = Database()\r
80 >> q = Query(db, "*")\r
81 >> db.close()\r
82 >\r
83 > Do you really call the constructor without a path? Or are you censoring\r
84 > the script for some reason?\r
85 \r
86 No path means path=None, which stands for the path from\r
87 ~/.notmuch-config. That's exactly what I want. Is there some reason not\r
88 to rely on this mechanism?\r
89 \r
90 Cheers,\r
91   Konrad.\r