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 D19D9431FD0
\r
6 for <notmuch@notmuchmail.org>; Thu, 2 Jun 2011 07:37:59 -0700 (PDT)
\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 4MWb-GKQqcPE for <notmuch@notmuchmail.org>;
\r
17 Thu, 2 Jun 2011 07:37:59 -0700 (PDT)
\r
18 Received: from homiemail-a21.g.dreamhost.com (caiajhbdcagg.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 4EB36431FB6
\r
21 for <notmuch@notmuchmail.org>; Thu, 2 Jun 2011 07:37:59 -0700 (PDT)
\r
22 Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 7E21530007B;
\r
24 Thu, 2 Jun 2011 07:37:58 -0700 (PDT)
\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=GwmzTx/9hnNKurShq3CNJGZ4hwQ
\r
28 47WSTA/klercWrLIIJ+yd0G12AguNmU201p+Rar00VzqQuvzM73l56wlWg+i6cgw
\r
29 471qgcGSgZc6Nb/2r9wMDK6L7kDZiK0DnW+SoOO9Hboq6VhEgWioadvduBXSAM8/
\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=FqgPaOmK1r+ABjTJIuxXYtvQz6I=; b=m
\r
34 2cr4Yp+PmZcWqpridgMR0CbwDbCjhSoH8TuapbP2mbEBbnLxSZfYdpY31as4tZMp
\r
35 cTJHMe4cDAvb0Vpf0Clft3bshlKmzCjfv95kxPn9NPdhH/IkxNXAKmX9qzEDufYW
\r
36 EfmiU4SakSIqHvE2ZBSSUzwAKjp0N+vaj+jhWP5Bdk=
\r
37 Received: from spaetzbook.sspaeth.de (unknown [194.204.5.155])
\r
38 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
39 (No client certificate requested)
\r
40 (Authenticated sender: fax@sspaeth.de)
\r
41 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id E5B17300074;
\r
42 Thu, 2 Jun 2011 07:37:56 -0700 (PDT)
\r
43 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);
\r
44 Thu, 02 Jun 2011 16:37:54 +0200
\r
45 From: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
46 To: Brian May <brian@microcomaustralia.com.au>,
\r
47 notmuch <notmuch@notmuchmail.org>
\r
48 Subject: Re: [python] get all messages of a thread
\r
49 In-Reply-To: <87r57cuxgh.fsf@SSpaeth.de>
\r
50 References: <1306588052-sup-9838@brick>
\r
51 <BANLkTikEJ9dJ5kLg2QJQ+egHg2sh7S1wiA@mail.gmail.com>
\r
52 <87aae07lxi.fsf@SSpaeth.de>
\r
53 <BANLkTi=df3+LBWasFic9ZNrKaLGA7Bmdew@mail.gmail.com>
\r
54 <87r57cuxgh.fsf@SSpaeth.de>
\r
55 User-Agent: Notmuch/0.5-209-gc8b5718 (http://notmuchmail.org) Emacs/23.2.1
\r
56 (x86_64-pc-linux-gnu)
\r
57 Date: Thu, 02 Jun 2011 16:37:53 +0200
\r
58 Message-ID: <87oc2guwn2.fsf@SSpaeth.de>
\r
60 Content-Type: multipart/signed; boundary="=-=-=";
\r
61 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
62 X-BeenThere: notmuch@notmuchmail.org
\r
63 X-Mailman-Version: 2.1.13
\r
65 List-Id: "Use and development of the notmuch mail system."
\r
66 <notmuch.notmuchmail.org>
\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
70 List-Post: <mailto:notmuch@notmuchmail.org>
\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
73 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
74 X-List-Received-Date: Thu, 02 Jun 2011 14:38:00 -0000
\r
78 On Thu, 02 Jun 2011 16:20:14 +0200, Sebastian Spaeth wrote:
\r
80 > I made the change, and implemented __nonzero__ and removed the len()
\r
81 > method. It just doesn't make sense on 1-time iterators. (I documented
\r
82 > the change in the API docs). Sorry if this breaks existing code.
\r
86 OK, I just pushed a change that adds the __nonzero__ function thus
\r
93 work, but I did not pull the len() function out. The explicit "if t"
\r
94 test is however not needed for
\r
96 t = q.search_threads()
\r
100 works just fine with empty results.
\r
105 Content-Type: application/pgp-signature
\r
107 -----BEGIN PGP SIGNATURE-----
\r
108 Version: GnuPG v1.4.11 (GNU/Linux)
\r
110 iEYEARECAAYFAk3noEIACgkQVYX1jMgnoGLnSACfR1zo53KeCRhm7ZEuVjU5yaiM
\r
111 2hIAnRXG7oHQwyHcZZZx2ceMU7QKsXnP
\r
113 -----END PGP SIGNATURE-----
\r