Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 55 / cf0c181c2910b5642ee4fc59446df8105001a1
1 Return-Path: <prvs=374b26013=jrosenthal@jhu.edu>\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 53675431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 31 Oct 2014 12:05:02 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 nUauVPg7SM9G for <notmuch@notmuchmail.org>;\r
16         Fri, 31 Oct 2014 12:04:54 -0700 (PDT)\r
17 X-Greylist: delayed 3602 seconds by postgrey-1.32 at olra;\r
18         Fri, 31 Oct 2014 12:04:54 PDT\r
19 Received: from smtpauth.johnshopkins.edu (smtpauth.johnshopkins.edu\r
20         [128.220.229.147]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 91FCE431FAF\r
23         for <notmuch@notmuchmail.org>; Fri, 31 Oct 2014 12:04:54 -0700 (PDT)\r
24 X-IronPort-AV: E=Sophos;i="5.07,295,1413259200"; d="scan'208";a="17204995"\r
25 Received: from guppy.hwcampus.jhu.edu (HELO localhost) ([10.161.32.234])\r
26         by IPMTW1.johnshopkins.edu with ESMTP/TLS/AES128-SHA;\r
27         31 Oct 2014 14:04:51 -0400\r
28 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
29 To: "W. Trevor King" <wking@tremily.us>\r
30 Subject: Re: [PATCH] test: Make gen-threads work with python3\r
31 In-Reply-To: <20141031174153.GQ15443@odin.tremily.us>\r
32 References: <1414776805-30000-1-git-send-email-jrosenthal@jhu.edu>\r
33         <20141031174153.GQ15443@odin.tremily.us>\r
34 User-Agent: Notmuch/0.18.2+156~g1f413d7 (http://notmuchmail.org) Emacs/24.4.1\r
35         (i686-pc-linux-gnu)\r
36 Date: Fri, 31 Oct 2014 14:04:50 -0400\r
37 Message-ID: <87bnosdsjh.fsf@jhu.edu>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=utf-8\r
40 Content-Transfer-Encoding: quoted-printable\r
41 Cc: notmuch@notmuchmail.org\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Fri, 31 Oct 2014 19:05:02 -0000\r
55 \r
56 "W. Trevor King" <wking@tremily.us> writes:\r
57 \r
58 > On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:\r
59 >> We instead initalize the dictionary using the dict comprehension and\r
60 >> then update it with the values from the tree. This will work with\r
61 >> both python2 and python3.\r
62 >\r
63 > Dict comprehensions are new in 2.7 [1,2], so this drops support for\r
64 > systems where =E2=80=98python=E2=80=99 means =E2=80=98python2.6=E2=80=99.=\r
65   Personally, I'm fine with\r
66 > that, but I thought I'd point it out in case 2.6 users wanted to push\r
67 > back ;).\r
68 \r
69 The comprehension was already in the previous version, so I figured that\r
70 people were already cool with 2.7+.\r
71 \r
72 >> -\r
73 >>  import sys\r
74 >\r
75 > Why remove this blank line?\r
76 \r
77 Oops -- I had put in a print_function import from __future__ for\r
78 testing. Must have lost the line when I took it back out. Is it worth\r
79 resubmitting to fix that?\r