[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / 1e / ba31a3380969b90a357fa29d677f0433c7a895
1 Return-Path: <tomi.ollila@iki.fi>\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 B5379431FBC\r
6         for <notmuch@notmuchmail.org>; Sat,  3 Jan 2015 06:06:22 -0800 (PST)\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 4IwcGbUr7c5k for <notmuch@notmuchmail.org>;\r
16         Sat,  3 Jan 2015 06:06:19 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 642EA431FB6\r
19         for <notmuch@notmuchmail.org>; Sat,  3 Jan 2015 06:06:19 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 38BD9100051;\r
22         Sat,  3 Jan 2015 16:05:52 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] build: eliminate use of python execfile command\r
26 In-Reply-To: <1420291282-2553-1-git-send-email-david@tethera.net>\r
27 References: <1420291282-2553-1-git-send-email-david@tethera.net>\r
28 User-Agent: Notmuch/0.19+14~ge04617b (http://notmuchmail.org) Emacs/24.3.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Sat, 03 Jan 2015 16:05:52 +0200\r
34 Message-ID: <m2r3vcari7.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sat, 03 Jan 2015 14:06:22 -0000\r
50 \r
51 On Sat, Jan 03 2015, David Bremner <david@tethera.net> wrote:\r
52 \r
53 > As discussed in\r
54 > id:8cc9dd580ad672527e12f43706f9803b2c8e99d8.1405220724.git.wking@tremily.us,\r
55 > execfile is unavailable in python3.\r
56 >\r
57 > The approach of this commit avoids modifying the python module path,\r
58 > which is arguably preferable since it avoids potentially accidentally importing a module from the wrong place.\r
59 \r
60 Looks good, tests pass -- you could amend the commit message by adding one lost newline.\r
61 \r
62 Tomi\r
63 \r
64 \r
65 \r
66 > ---\r
67 >  devel/release-checks.sh | 2 +-\r
68 >  doc/prerst2man.py       | 3 ++-\r
69 >  2 files changed, 3 insertions(+), 2 deletions(-)\r
70 >\r
71 > diff --git a/devel/release-checks.sh b/devel/release-checks.sh\r
72 > index 797d62a..ae02f55 100755\r
73 > --- a/devel/release-checks.sh\r
74 > +++ b/devel/release-checks.sh\r
75 > @@ -130,7 +130,7 @@ else\r
76 >  fi\r
77 >  \r
78 >  echo -n "Checking that python bindings version is $VERSION... "\r
79 > -py_version=`python -c "execfile('$PV_FILE'); print __VERSION__"`\r
80 > +py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print __VERSION__"`\r
81 >  if [ "$py_version" = "$VERSION" ]\r
82 >  then\r
83 >       echo Yes.\r
84 > diff --git a/doc/prerst2man.py b/doc/prerst2man.py\r
85 > index 437dea9..968722a 100644\r
86 > --- a/doc/prerst2man.py\r
87 > +++ b/doc/prerst2man.py\r
88 > @@ -10,7 +10,8 @@ outdir = argv[2]\r
89 >  if not isdir(outdir):\r
90 >      makedirs(outdir, 0o755)\r
91 >  \r
92 > -execfile(sourcedir + "/conf.py")\r
93 > +with open(sourcedir + "/conf.py") as cf:\r
94 > +    exec(cf.read())\r
95 >  \r
96 >  \r
97 >  def header(file, startdocname, command, description, authors, section):\r
98 > -- \r
99 > 2.1.3\r
100 >\r
101 > _______________________________________________\r
102 > notmuch mailing list\r
103 > notmuch@notmuchmail.org\r
104 > http://notmuchmail.org/mailman/listinfo/notmuch\r