1 Return-Path: <aaron@copiesofcopies.org>
\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 336AF431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 19 Apr 2011 13:35:13 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 0qQIOykRdMY9 for <notmuch@notmuchmail.org>;
\r
16 Tue, 19 Apr 2011 13:35:11 -0700 (PDT)
\r
17 Received: from mail.sflc.info (mail.sflc.info [216.27.154.199])
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 38E1B431FB5
\r
21 for <notmuch@notmuchmail.org>; Tue, 19 Apr 2011 13:35:11 -0700 (PDT)
\r
22 Received: from [10.2.67.184] (unknown [10.2.67.184])
\r
23 by mail.sflc.info (Postfix) with ESMTPSA id 772DEB4C006;
\r
24 Tue, 19 Apr 2011 20:34:54 +0000 (UTC)
\r
25 Message-ID: <4DADF1F8.4030809@copiesofcopies.org>
\r
26 Date: Tue, 19 Apr 2011 16:35:04 -0400
\r
27 From: Aaron Williamson <aaron@copiesofcopies.org>
\r
28 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
\r
29 rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
\r
31 To: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
32 Subject: Re: python documentation
\r
33 References: <87hbb4zyp6.fsf@servo.finestructure.net>
\r
34 <87pqpsh0sg.fsf@SSpaeth.de> <87mxjn68q7.fsf@eve.chaoflow.net>
\r
35 <877har7jcp.fsf@SSpaeth.de> <87hb9v61qy.fsf@eve.chaoflow.net>
\r
36 <87oc4257t9.fsf@SSpaeth.de>
\r
37 In-Reply-To: <87oc4257t9.fsf@SSpaeth.de>
\r
38 Content-Type: text/plain; charset=UTF-8
\r
39 Content-Transfer-Encoding: 8bit
\r
40 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Tue, 19 Apr 2011 20:35:13 -0000
\r
55 On 04/19/2011 04:01 PM, Sebastian Spaeth wrote:
\r
56 > On Mon, 18 Apr 2011 17:03:01 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:
\r
57 >> Is it sane to have python bindings that need updates or would a plain
\r
58 >> wrapper of the notmuch script (that maybe needs less updates) be better?
\r
59 >> I don't want to imply that this can be answered with yes/no, but more to
\r
60 >> get a comparison of the two approaches.
\r
62 > Invoking notmuch the script and piping the results? I wouldn't call that
\r
63 > python bindings anymore then. Also it is bound to be much more expensive
\r
64 > than directly interfacing libnotmuch.so.
\r
66 >> Naïvely, I imagine there is a header file and the generation of the
\r
67 >> python bindings happens rather automagic.
\r
69 > I wish it would be that easy. :-)
\r
71 I've never actually used it, so I may be way off base, but would it be possible
\r
72 to use SWIG (http://www.swig.org/) to automatically generate bindings when the C
\r
73 library is updated, or at least provide a decent starting point?
\r