--- /dev/null
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 8F40A6DE1749\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 10:10:21 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[AWL=0.111,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id grEOTrKKgb2z for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Jan 2016 10:10:18 -0800 (PST)\r
+Received: from resqmta-po-01v.sys.comcast.net (resqmta-po-01v.sys.comcast.net\r
+ [96.114.154.160])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id E121E6DE0FB1\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 10:10:17 -0800 (PST)\r
+Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242])\r
+ by resqmta-po-01v.sys.comcast.net with comcast\r
+ id 569M1s0055E3ZMc016AFbG; Tue, 12 Jan 2016 18:10:15 +0000\r
+Received: from mail.tremily.us ([73.221.72.168])\r
+ by resomta-po-18v.sys.comcast.net with comcast\r
+ id 568D1s00d3dr3C90168Eje; Tue, 12 Jan 2016 18:08:15 +0000\r
+Received: by mail.tremily.us (Postfix, from userid 1000)\r
+ id 8C1671B466B7; Tue, 12 Jan 2016 10:08:13 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+ t=1452622093; bh=C176YL/RoRVMwiew+DAZTKd+qJWsR6OdkO80uHPuyOQ=;\r
+ h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+ b=qSMeRFyJOnqYWGu/IjBv5fgT9WF9PaiBL8oeehfpd5quk/Bzyw4Us26OZ9Dfq6Btw\r
+ /CdHqTyYO4UvWJ103w5VE64yv5piRHlDva44xbgWRqg9l9YoZ4tFy2qd99VvjvlthY\r
+ Ih1b/sWs4nRJCAHlO22sWFNcdV/ON2xSaF0+iteM=\r
+Date: Tue, 12 Jan 2016 10:08:13 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: Crash with Python bindings\r
+Message-ID: <20160112180813.GA20499@odin.tremily.us>\r
+References: <5694CA65.8010400@fastmail.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY"\r
+Content-Disposition: inline\r
+In-Reply-To: <5694CA65.8010400@fastmail.net>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+ url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1452622215;\r
+ bh=g6U200pdNXJ3Ll8I2wUMtxdLIB4nw4dmW5cO/JDBYc4=;\r
+ h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+ MIME-Version:Content-Type;\r
+ b=DIHcjNxB8/T5MzRFLF29OGpssOXJnH3xawNa31zRd64E1TizBUWQulNTbH59YclwE\r
+ 9ogxb7vICoBDJ+z/XpsPOlum8j6ceKsQTstcib0LUn6ts9monfv+pX+pEJfjjBwY48\r
+ H65is+Bump6mgMPpDz8Bs+NS0Xkryp1ttikazXTFMyJ4lgdBTl/gvPsitQYEKvaMft\r
+ m/e8MQ1nH867uURMeEjSKN9Q4jRLw/YoBxEovTQKT9XqWczMcK/FWj9ll3aZFwLBfY\r
+ LDpGO6HfC4vblN3MeXlP8qryPnDj8HgVz4XoEJ8KOBLCWK8wwwc/12gcZ4VG8ropBr\r
+ hazy1My+7YxSA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 12 Jan 2016 18:10:21 -0000\r
+\r
+\r
+--4Ckj6UjgE2iN1+kY\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, Jan 12, 2016 at 10:41:57AM +0100, Konrad Hinsen wrote:\r
+> --------------------------------------------------\r
+> from notmuch import Query, Database\r
+>=20\r
+> def foo(bar):\r
+> pass\r
+>=20\r
+> db =3D Database()\r
+> q =3D Query(db, "*")\r
+> db.close()\r
+> --------------------------------------------------\r
+>=20\r
+> Running this script (Python 3.5, MacOS X) yields:\r
+>\r
+> [1] 22478 abort pydev3 Temp/notmuch_test.py\r
+> =E2=80=A6\r
+> The strange part is that what causes the crash is the presence of the=20\r
+> function foo(), even though it is never called. Remove foo and the=20\r
+> script runs fine. It is also necessary to create a Query object.\r
+\r
+Adding some more data-points, I see the same results with Python 3.4.3\r
+on Gentoo, although stderr just gets =E2=80=9CAborted=E2=80=9D. All permut=\r
+ations seem\r
+to work on Python 3.3.5.\r
+\r
+Cheers,\r
+Trevor\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--4Ckj6UjgE2iN1+kY\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBAgAGBQJWlUELAAoJEAPqygegUbGsEXgP/iUTA/3rGKIgTInqmzuMDySo\r
+F3JXrFmEoMP6+70a1G5ulCJSx0AvY1yUhhEdTQB+NIu2tE+aQ4dLI9+36oSYkSiO\r
+Pv1P1Y2DOiySXx25QefGg+enKrerd7nKcnoY8+qvUoIbg2q7feLf43M9n3LMdpMI\r
+Q+RPDzQsBgm0Ycizhs1MQQWLFAvoeerckUG3ddAL1L/cH9AssuxlqwctLXqVHd2F\r
+vJcZrEvw9eUl9mB6IVEPxoFL4p9ZjNUgqgeXpQ2AnmqzpLzgNdkc5Bx9/NWN0Cdt\r
+94DhQNbz4SXWmHo3NLDNLA22N1KATix/Lk9c/YKkWebjSDY5d4Kf89PNCwIsurx5\r
+GxQNbiq3klUd5T66AroDYqs6ejtTbnIgo5oDy0V0+lwR6liC7/3/9cQNfQsJ/X+z\r
+v0CRuyVXw15acqQ8Bkp+vJb0C81enkr8As1gPh9vFM8hApVdMAxYgGJU7h7m+7bL\r
+CVD1og/craIE+qFoeRZ99knTP43Akgp78RgJgXGQm+RlOq8gM2IiiLNO3mXNhz3Q\r
+PFHx/O1VUX5ul2UEpOEqoPNosoodmuxx85ImYnO5wRVqbI+2O6TvQ5KU3UOO1Ur5\r
+qevFim7753cBF8Q65sODk1CK1xwbnaoetgbYXsLz+Ou9W9QOC2Hku0WcMt2A5JcY\r
+fwQLA2E1izAdR9QRgfzS\r
+=mrF2\r
+-----END PGP SIGNATURE-----\r
+\r
+--4Ckj6UjgE2iN1+kY--\r