Re: Flat search and threaded views
[notmuch-archives.git] / cf / 4e7d9839a3d970cdffcc02afb570138436afe7
1 Return-Path: <wking@tremily.us>\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 arlo.cworth.org (Postfix) with ESMTP id 8F40A6DE1749\r
6  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 10:10:21 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[AWL=0.111,\r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id grEOTrKKgb2z for <notmuch@notmuchmail.org>;\r
17  Tue, 12 Jan 2016 10:10:18 -0800 (PST)\r
18 Received: from resqmta-po-01v.sys.comcast.net (resqmta-po-01v.sys.comcast.net\r
19  [96.114.154.160])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id E121E6DE0FB1\r
21  for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 10:10:17 -0800 (PST)\r
22 Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242])\r
23  by resqmta-po-01v.sys.comcast.net with comcast\r
24  id 569M1s0055E3ZMc016AFbG; Tue, 12 Jan 2016 18:10:15 +0000\r
25 Received: from mail.tremily.us ([73.221.72.168])\r
26  by resomta-po-18v.sys.comcast.net with comcast\r
27  id 568D1s00d3dr3C90168Eje; Tue, 12 Jan 2016 18:08:15 +0000\r
28 Received: by mail.tremily.us (Postfix, from userid 1000)\r
29  id 8C1671B466B7; Tue, 12 Jan 2016 10:08:13 -0800 (PST)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31  t=1452622093; bh=C176YL/RoRVMwiew+DAZTKd+qJWsR6OdkO80uHPuyOQ=;\r
32  h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33  b=qSMeRFyJOnqYWGu/IjBv5fgT9WF9PaiBL8oeehfpd5quk/Bzyw4Us26OZ9Dfq6Btw\r
34  /CdHqTyYO4UvWJ103w5VE64yv5piRHlDva44xbgWRqg9l9YoZ4tFy2qd99VvjvlthY\r
35  Ih1b/sWs4nRJCAHlO22sWFNcdV/ON2xSaF0+iteM=\r
36 Date: Tue, 12 Jan 2016 10:08:13 -0800\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
39 Cc: notmuch@notmuchmail.org\r
40 Subject: Re: Crash with Python bindings\r
41 Message-ID: <20160112180813.GA20499@odin.tremily.us>\r
42 References: <5694CA65.8010400@fastmail.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; micalg=pgp-sha1;\r
45  protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY"\r
46 Content-Disposition: inline\r
47 In-Reply-To: <5694CA65.8010400@fastmail.net>\r
48 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
49  url=http://tremily.us/pubkey.txt\r
50 User-Agent: Mutt/1.5.23 (2014-03-12)\r
51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
52  s=q20140121; t=1452622215;\r
53  bh=g6U200pdNXJ3Ll8I2wUMtxdLIB4nw4dmW5cO/JDBYc4=;\r
54  h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
55  MIME-Version:Content-Type;\r
56  b=DIHcjNxB8/T5MzRFLF29OGpssOXJnH3xawNa31zRd64E1TizBUWQulNTbH59YclwE\r
57  9ogxb7vICoBDJ+z/XpsPOlum8j6ceKsQTstcib0LUn6ts9monfv+pX+pEJfjjBwY48\r
58  H65is+Bump6mgMPpDz8Bs+NS0Xkryp1ttikazXTFMyJ4lgdBTl/gvPsitQYEKvaMft\r
59  m/e8MQ1nH867uURMeEjSKN9Q4jRLw/YoBxEovTQKT9XqWczMcK/FWj9ll3aZFwLBfY\r
60  LDpGO6HfC4vblN3MeXlP8qryPnDj8HgVz4XoEJ8KOBLCWK8wwwc/12gcZ4VG8ropBr\r
61  hazy1My+7YxSA==\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.20\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66  <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
73  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Tue, 12 Jan 2016 18:10:21 -0000\r
75 \r
76 \r
77 --4Ckj6UjgE2iN1+kY\r
78 Content-Type: text/plain; charset=utf-8\r
79 Content-Disposition: inline\r
80 Content-Transfer-Encoding: quoted-printable\r
81 \r
82 On Tue, Jan 12, 2016 at 10:41:57AM +0100, Konrad Hinsen wrote:\r
83 > --------------------------------------------------\r
84 > from notmuch import Query, Database\r
85 >=20\r
86 > def foo(bar):\r
87 >      pass\r
88 >=20\r
89 > db =3D Database()\r
90 > q =3D Query(db, "*")\r
91 > db.close()\r
92 > --------------------------------------------------\r
93 >=20\r
94 > Running this script (Python 3.5, MacOS X) yields:\r
95 >\r
96 > [1]    22478 abort      pydev3 Temp/notmuch_test.py\r
97 > =E2=80=A6\r
98 > The strange part is that what causes the crash is the presence of the=20\r
99 > function foo(), even though it is never called. Remove foo and the=20\r
100 > script runs fine. It is also necessary to create a Query object.\r
101 \r
102 Adding some more data-points, I see the same results with Python 3.4.3\r
103 on Gentoo, although stderr just gets =E2=80=9CAborted=E2=80=9D.  All permut=\r
104 ations seem\r
105 to work on Python 3.3.5.\r
106 \r
107 Cheers,\r
108 Trevor\r
109 \r
110 --=20\r
111 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
112 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
113 \r
114 --4Ckj6UjgE2iN1+kY\r
115 Content-Type: application/pgp-signature; name="signature.asc"\r
116 Content-Description: OpenPGP digital signature\r
117 \r
118 -----BEGIN PGP SIGNATURE-----\r
119 Version: GnuPG v2\r
120 \r
121 iQIcBAEBAgAGBQJWlUELAAoJEAPqygegUbGsEXgP/iUTA/3rGKIgTInqmzuMDySo\r
122 F3JXrFmEoMP6+70a1G5ulCJSx0AvY1yUhhEdTQB+NIu2tE+aQ4dLI9+36oSYkSiO\r
123 Pv1P1Y2DOiySXx25QefGg+enKrerd7nKcnoY8+qvUoIbg2q7feLf43M9n3LMdpMI\r
124 Q+RPDzQsBgm0Ycizhs1MQQWLFAvoeerckUG3ddAL1L/cH9AssuxlqwctLXqVHd2F\r
125 vJcZrEvw9eUl9mB6IVEPxoFL4p9ZjNUgqgeXpQ2AnmqzpLzgNdkc5Bx9/NWN0Cdt\r
126 94DhQNbz4SXWmHo3NLDNLA22N1KATix/Lk9c/YKkWebjSDY5d4Kf89PNCwIsurx5\r
127 GxQNbiq3klUd5T66AroDYqs6ejtTbnIgo5oDy0V0+lwR6liC7/3/9cQNfQsJ/X+z\r
128 v0CRuyVXw15acqQ8Bkp+vJb0C81enkr8As1gPh9vFM8hApVdMAxYgGJU7h7m+7bL\r
129 CVD1og/craIE+qFoeRZ99knTP43Akgp78RgJgXGQm+RlOq8gM2IiiLNO3mXNhz3Q\r
130 PFHx/O1VUX5ul2UEpOEqoPNosoodmuxx85ImYnO5wRVqbI+2O6TvQ5KU3UOO1Ur5\r
131 qevFim7753cBF8Q65sODk1CK1xwbnaoetgbYXsLz+Ou9W9QOC2Hku0WcMt2A5JcY\r
132 fwQLA2E1izAdR9QRgfzS\r
133 =mrF2\r
134 -----END PGP SIGNATURE-----\r
135 \r
136 --4Ckj6UjgE2iN1+kY--\r