1 Return-Path: <Sebastian@SSpaeth.de>
\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 0E9A4429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 08:03:57 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id kOsBHw3HfWUE for <notmuch@notmuchmail.org>;
\r
17 Mon, 2 Jan 2012 08:03:56 -0800 (PST)
\r
18 Received: from homiemail-a75.g.dreamhost.com (caiajhbdcbhh.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 86859431FD0
\r
21 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 08:03:56 -0800 (PST)
\r
22 Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id DF89B5EC07E;
\r
24 Mon, 2 Jan 2012 08:03:55 -0800 (PST)
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject
\r
26 :in-reply-to:references:date:message-id:mime-version:
\r
27 content-type; q=dns; s=sspaeth.de; b=YRp7pIe63m0fi5w/qugjT8JUF53
\r
28 34KyoQAubpNrU9uCkQrZPJypL8staxPxaYa8MaB5sgNm+WYtrtCWJr2y3B9IaJIr
\r
29 YHpY5ouF31e001vy3IJBwDJ1vkGGiGs4r0f0qEcFMpNHIyLUbZIl2BhoShou41Lb
\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to
\r
32 :subject:in-reply-to:references:date:message-id:mime-version:
\r
33 content-type; s=sspaeth.de; bh=eLr2iUGQllw6mmA2QN+FGAH77OI=; b=A
\r
34 fTecDSoM29zUlJeRPkhLIzUAixfQtV4XNssActPUikFtRc9rnX/T7rK5mJEt20Du
\r
35 9UFxElPJpFUUUYFkCeQVUVry/x8DTjmiG/Y/ZfL8CB2s5LQ+uGPND09OcQiSWvcH
\r
36 4JNV5wh2RMdSqiBEnW1GxATDW3xcynF26F6LgJ/W70=
\r
37 Received: from spaetzbook.sspaeth.de (unknown [176.46.227.178])
\r
38 (Authenticated sender: fax@sspaeth.de)
\r
39 by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPA id 43D275EC07C;
\r
40 Mon, 2 Jan 2012 08:03:54 -0800 (PST)
\r
41 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);
\r
42 Mon, 02 Jan 2012 17:03:51 +0100
\r
43 From: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
44 To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org
\r
45 Subject: Re: [PATCH 2/2] python: make the result of Message.get_replies() more
\r
48 <1324473302-10869-3-git-send-email-4winter@informatik.uni-hamburg.de>
\r
49 References: <87sjm79e3d.fsf@SSpaeth.de>
\r
50 <1324473302-10869-1-git-send-email-4winter@informatik.uni-hamburg.de>
\r
51 <1324473302-10869-3-git-send-email-4winter@informatik.uni-hamburg.de>
\r
52 User-Agent: Notmuch/0.10+58~g935365d (http://notmuchmail.org) Emacs/23.3.1
\r
53 (x86_64-pc-linux-gnu)
\r
54 Date: Mon, 02 Jan 2012 17:03:51 +0100
\r
55 Message-ID: <8762guks60.fsf@SSpaeth.de>
\r
57 Content-Type: multipart/signed; boundary="=-=-=";
\r
58 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
59 X-BeenThere: notmuch@notmuchmail.org
\r
60 X-Mailman-Version: 2.1.13
\r
62 List-Id: "Use and development of the notmuch mail system."
\r
63 <notmuch.notmuchmail.org>
\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
67 List-Post: <mailto:notmuch@notmuchmail.org>
\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
71 X-List-Received-Date: Mon, 02 Jan 2012 16:03:57 -0000
\r
74 Content-Transfer-Encoding: quoted-printable
\r
76 On Wed, 21 Dec 2011 14:15:02 +0100, Justus Winter <4winter@informatik.uni-h=
\r
78 > Formerly Message.get_replies() returned an iterator or None forcing
\r
79 > users to check the result before iterating over it leading to strange
\r
80 > looking code at the call site.
\r
82 > Fix this flaw by adding an EmptyMessagesResult class that behaves like
\r
83 > the Messages class but immediatly raises StopIteration if used as an
\r
84 > iterator and returning objects of this type from Message.get_replies()
\r
85 > to indicate that there are no replies.
\r
88 Makes sense, pushed. It shouldn't cause the breaking of existing
\r
89 clients... (famous last words)
\r
94 Content-Type: application/pgp-signature
\r
96 -----BEGIN PGP SIGNATURE-----
\r
97 Version: GnuPG v1.4.11 (GNU/Linux)
\r
99 iEYEARECAAYFAk8B1WcACgkQVYX1jMgnoGJtVACdHO351Cch80jbDHtPv9pVKEpz
\r
100 k9YAnis20xlRt3j+TN9DNddTmsUFMgtv
\r
102 -----END PGP SIGNATURE-----
\r