1 Return-Path: <patricktotzke@googlemail.com>
\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 olra.theworths.org (Postfix) with ESMTP id 8D0F2431FAF
\r
6 for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 07:36:54 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 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] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 7JfVZzN0wtpW for <notmuch@notmuchmail.org>;
\r
17 Tue, 21 Feb 2012 07:36:52 -0800 (PST)
\r
18 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
19 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 67D35431FAE
\r
22 for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 07:36:52 -0800 (PST)
\r
23 Received: by werp13 with SMTP id p13so4747309wer.26
\r
24 for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 07:36:49 -0800 (PST)
\r
25 Received-SPF: pass (google.com: domain of patricktotzke@googlemail.com
\r
26 designates 10.181.11.227 as permitted sender)
\r
27 client-ip=10.181.11.227;
\r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of
\r
29 patricktotzke@googlemail.com designates 10.181.11.227 as
\r
30 permitted sender) smtp.mail=patricktotzke@googlemail.com;
\r
31 dkim=pass header.i=patricktotzke@googlemail.com
\r
32 Received: from mr.google.com ([10.181.11.227])
\r
33 by 10.181.11.227 with SMTP id el3mr26550742wid.18.1329838609830
\r
34 (num_hops = 1); Tue, 21 Feb 2012 07:36:49 -0800 (PST)
\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
36 d=googlemail.com; s=gamma;
\r
37 h=content-type:mime-version:content-transfer-encoding:from:user-agent
\r
38 :to:references:in-reply-to:message-id:subject:date;
\r
39 bh=pmwlK7ZU4yoEELUCA6ozujISSqQa5TnNHufIn8yYlVs=;
\r
40 b=nTJNS9PEgCrBA2Vbts8e5lg3cHcV+5lgah81gZSutFPEcJrITcxtrh97kIuk5qQqLK
\r
41 x0VjpQf2iBoAwRWbHppcd4rlm4qeo8bJtQ4z8QA0QCMgqIvDGItysHzdcy/t0HByoqgZ
\r
42 EoY70FO2msMxBF1E1TMvhoyF/5bBebA+Pf1m8=
\r
43 Received: by 10.181.11.227 with SMTP id el3mr22065289wid.18.1329838609785;
\r
44 Tue, 21 Feb 2012 07:36:49 -0800 (PST)
\r
45 Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36])
\r
46 by mx.google.com with ESMTPS id by3sm23260698wib.3.2012.02.21.07.36.45
\r
47 (version=TLSv1/SSLv3 cipher=OTHER);
\r
48 Tue, 21 Feb 2012 07:36:46 -0800 (PST)
\r
49 Content-Type: text/plain; charset="utf-8"
\r
51 Content-Transfer-Encoding: quoted-printable
\r
52 From: Patrick Totzke <patricktotzke@googlemail.com>
\r
53 User-Agent: alot/0.21+
\r
54 To: notmuch <notmuch@notmuchmail.org>
\r
55 References: <20120221002921.8534.57091@thinkbox.jade-hamburg.de>
\r
56 In-Reply-To: <20120221002921.8534.57091@thinkbox.jade-hamburg.de>
\r
57 Message-ID: <20120221153542.29533.62958@megatron>
\r
58 Subject: Re: notmuch as a shared object aka library knigge
\r
59 Date: Tue, 21 Feb 2012 15:35:42 +0000
\r
60 X-BeenThere: notmuch@notmuchmail.org
\r
61 X-Mailman-Version: 2.1.13
\r
63 List-Id: "Use and development of the notmuch mail system."
\r
64 <notmuch.notmuchmail.org>
\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
68 List-Post: <mailto:notmuch@notmuchmail.org>
\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
72 X-List-Received-Date: Tue, 21 Feb 2012 15:36:54 -0000
\r
76 Those of you with long enough backlog on the list to remember my rant (id:2=
\r
77 0110626202733.GA26837@brick)
\r
78 can guess my opion on this matter but just to be sure..
\r
80 I am not much of an expert on libnotmuch internals but am using the python =
\r
81 bindings extensively.
\r
82 It feels super-strange using a python module that possibly writes to stderr=
\r
83 or any other descriptor
\r
84 without me explicitly telling it to.
\r
85 Also, if the library segfauls or calls exit, it essentially rips out the py=
\r
86 thon interpreter underneath my code
\r
87 without me being able to do any proper error handling.
\r
89 I know that error handling on a library level is hard, juggling around with=
\r
90 bare C, talloc and Xapian.
\r
91 But i can only strongly encourage any rewrite that ends in the python bindi=
\r
92 ngs behaving more pythonic!
\r