1 Return-Path: <tomi.ollila@nixu.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 8E331429E27
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Dec 2011 04:17:57 -0800 (PST)
\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 a5m0KbMX1QL5 for <notmuch@notmuchmail.org>;
\r
16 Wed, 14 Dec 2011 04:17:56 -0800 (PST)
\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])
\r
18 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 6E7B2429E26
\r
21 for <notmuch@notmuchmail.org>; Wed, 14 Dec 2011 04:17:56 -0800 (PST)
\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])
\r
23 by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id pBECFJmQ029996;
\r
24 Wed, 14 Dec 2011 14:17:42 +0200
\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\r
26 by mail-gw3.nixu.fi with ESMTP id 114cs0t9ep-1
\r
27 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
28 Wed, 14 Dec 2011 14:17:41 +0200
\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\r
30 by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id
\r
31 pBECHfnl015798; Wed, 14 Dec 2011 14:17:41 +0200
\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
33 To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org
\r
34 Subject: Re: [PATCH 3/7] py3k: All strings are unicode strings in py3k
\r
36 <1323860305-15802-4-git-send-email-4winter@informatik.uni-hamburg.de>
\r
38 <1323860305-15802-1-git-send-email-4winter@informatik.uni-hamburg.de>
\r
39 <1323860305-15802-4-git-send-email-4winter@informatik.uni-hamburg.de>
\r
40 User-Agent: Notmuch/0.10.2+93~g631d290 (http://notmuchmail.org) Emacs/23.3.1
\r
42 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
43 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
44 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
45 Date: Wed, 14 Dec 2011 14:17:41 +0200
\r
46 Message-ID: <yf6r507s5y2.fsf@taco2.nixu.fi>
\r
48 Content-Type: text/plain; charset=us-ascii
\r
49 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,
\r
50 1.0.211, 0.0.0000 definitions=2011-12-14_05:2011-12-14, 2011-12-14,
\r
51 1970-01-01 signatures=0
\r
52 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
\r
53 ipscore=0 suspectscore=0
\r
54 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0
\r
56 scancount=1 engine=6.0.2-1012030000 definitions=main-1112140071
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Wed, 14 Dec 2011 12:17:57 -0000
\r
71 On Wed, 14 Dec 2011 11:58:21 +0100, Justus Winter <4winter@informatik.uni-hamburg.de> wrote:
\r
73 > bindings/python/notmuch/globals.py | 4 ++--
\r
74 > 1 files changed, 2 insertions(+), 2 deletions(-)
\r
76 > diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
\r
77 > index 54a49b2..99e6a10 100644
\r
78 > --- a/bindings/python/notmuch/globals.py
\r
79 > +++ b/bindings/python/notmuch/globals.py
\r
80 > @@ -51,7 +51,7 @@ class Status(Enum):
\r
81 > """Get a (unicode) string representation of a notmuch_status_t value."""
\r
82 > # define strings for custom error messages
\r
83 > if status == STATUS.NOT_INITIALIZED:
\r
84 > - return u"Operation on uninitialized object impossible."
\r
85 > + return "Operation on uninitialized object impossible."
\r
86 > return unicode(Status._status2str(status))
\r
88 > STATUS = Status(['SUCCESS',
\r
89 > @@ -142,7 +142,7 @@ class NotmuchError(Exception):
\r
90 > elif self.status is not None:
\r
91 > return STATUS.status2str(self.status)
\r
93 > - return u'Unknown error'
\r
94 > + return 'Unknown error'
\r
96 Is this u -prefix unnecessary in python 2 too ? Grepping
\r
97 'u"' and "u'" in **/*.py in puthon bindings source resulted
\r
98 some more u-prefixed strings in docs/source/conf.py. Should
\r
99 these be changed in some future patch ?
\r
101 > # List of Subclassed exceptions that correspond to STATUS values and are
\r