1 Return-Path: <david@tethera.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 olra.theworths.org (Postfix) with ESMTP id A40D0431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 24 Aug 2014 13:39:33 -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 Tq1Ofejdz-Yf for <notmuch@notmuchmail.org>;
\r
16 Sun, 24 Aug 2014 13:39:28 -0700 (PDT)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 38229431FAE
\r
21 for <notmuch@notmuchmail.org>; Sun, 24 Aug 2014 13:39:28 -0700 (PDT)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <david@tethera.net>)
\r
24 id 1XLeZT-0006ct-3F; Sun, 24 Aug 2014 17:39:27 -0300
\r
25 Received: (nullmailer pid 16215 invoked by uid 1000); Sun, 24 Aug 2014
\r
27 From: David Bremner <bremner@debian.org>
\r
28 To: "W. Trevor King" <wking@tremily.us>
\r
29 Subject: Re: [PATCH v3] nmbug: Translate to Python
\r
30 In-Reply-To: <20140806232131.GH31313@odin.tremily.us>
\r
32 <84447a0ed48412e1587761d560d18cb5affd4f66.1405897133.git.wking@tremily.us>
\r
33 <878un36bd5.fsf@maritornes.cs.unb.ca>
\r
34 <20140806232131.GH31313@odin.tremily.us>
\r
35 User-Agent: Notmuch/0.18.1+72~g028c560 (http://notmuchmail.org) Emacs/24.3.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Sun, 24 Aug 2014 13:39:23 -0700
\r
38 Message-ID: <871ts5ei6c.fsf@maritornes.cs.unb.ca>
\r
40 Content-Type: text/plain; charset=utf-8
\r
41 Content-Transfer-Encoding: quoted-printable
\r
42 Cc: notmuch@notmuchmail.org
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Sun, 24 Aug 2014 20:39:33 -0000
\r
57 "W. Trevor King" <wking@tremily.us> writes:
\r
59 >> > +__version__ =3D '0.2'
\r
61 >> Do we need/want a version distinct from that of notmuch?
\r
63 > nmbug is very loosely bound to the notmuch core. To me it feels like
\r
64 > a separate project that happens to share the same version control
\r
65 > repository. I'm happy to synchronize versions, but then we have to
\r
66 > remember to bump the nmbug version for each notmuch release.
\r
68 Unless/until we split nmbug from notmuch I'd rather keep the versions
\r
69 the same to avoid confusion. I guess the "right way" (TM) would be
\r
70 share the hackery used in doc/conf.py to parse the version file and use
\r
73 >> as a non-native speaker of python, I find this a bit hard to read.
\r
74 >> How about adding some parens to make the multiple return more clear,
\r
77 >> (status, tree, stderr) =3D _git(
\r
79 > That's legal, but I rarely see the parenthesized version in the wild.
\r
80 > For examples showing the unparenthesized version, see [2,3].
\r
81 > Parentheses are optional for Python tuples [4], so you'd only want
\r
82 > them if =E2=80=98=3D=E2=80=99 had a higher precedence than =E2=80=98,=E2=
\r
83 =80=99. That's my argument for
\r
84 > the unparenthesized version, but feel free to overrule me ;).
\r
86 I'd rather go with readability (which I admit is subjective) then try to
\r
87 minimize parens. We're lisp programmers, after all ;).
\r