--- /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 olra.theworths.org (Postfix) with ESMTP id 1D595431FBC\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 16:53:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id bjjhF12rmu6S for <notmuch@notmuchmail.org>;\r
+ Mon, 3 Feb 2014 16:53:35 -0800 (PST)\r
+Received: from qmta01.westchester.pa.mail.comcast.net\r
+ (qmta01.westchester.pa.mail.comcast.net [76.96.62.16])\r
+ by olra.theworths.org (Postfix) with ESMTP id DB226431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 16:53:34 -0800 (PST)\r
+Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35])\r
+ by qmta01.westchester.pa.mail.comcast.net with comcast\r
+ id Mzbo1n0010ldTLk510taXe; Tue, 04 Feb 2014 00:53:34 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+ by omta04.westchester.pa.mail.comcast.net with comcast\r
+ id N0tY1n017152l3L010tZD8; Tue, 04 Feb 2014 00:53:34 +0000\r
+Received: by odin.tremily.us (Postfix, from userid 1000)\r
+ id 2BDFCFC9943; Mon, 3 Feb 2014 16:53:32 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+ t=1391475212; bh=7IsEDR+Nf2joDwwc50y4AjrtI+sq0fqW3gBUFnrAF6A=;\r
+ h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+ b=hyyO4bQE4ZW3Y1V5zXWmHpd4eT2d0tOZmw+O+f6kI3sBmTYG91zJVO8r3mN3h11vl\r
+ RDPb1egwSiKqDAFq0QbhJHfdZ6mLxN7c6UaxzbM0mfamTrBRAxP/18IA9ZstVjhNya\r
+ 0S0+RhUae/pQnLghApu/DE9VLOqvI8I+dp9qzWHM=\r
+Date: Mon, 3 Feb 2014 16:53:32 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>\r
+Subject: Re: [PATCH 00/17] nmbug-status: Python-3-compabitility and general\r
+ refactoring\r
+Message-ID: <20140204005331.GQ14197@odin.tremily.us>\r
+References: <cover.1391424512.git.wking@tremily.us>\r
+ <m2ha8frjgg.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature"; boundary="8kevPEUzql0NoPNs"\r
+Content-Disposition: inline\r
+In-Reply-To: <m2ha8frjgg.fsf@guru.guru-group.fi>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+ url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.22 (2013-10-16)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20121106; t=1391475214;\r
+ bh=jOjVNSZPqOGVbcsJGzsVnJ4XbJ8x5aLZD7pmoglJFnA=;\r
+ h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+ MIME-Version:Content-Type;\r
+ b=ozOVhgNH8CLv1IAbBlOvBL1VEfXp4KYX74JKWeY1jbQNRegHAriBcr4N3PUgnMrDD\r
+ cGo1t8f5zhLGnLzQAZHbjfWvfWDVJygIeiLTjVALuFOhf8ugp3JI7tlmjoeKP0UuKd\r
+ hgDoSZQOWXx92VSf6CFW9etD6yJ/Jh4A/LZGL815CIRGjV+o6NYNofSEjoqab6QQmM\r
+ hnE4hwuUMyGUQPXyuTcax2BwfiVA0XzI14UpjeR2bYF/AjV1p/g1P81ltaDC5A1ny7\r
+ iNaAuqyL+jYY3PxDsa9NdknmO9Oc8+1f1oCagijcaWQBJKJ+U4qc2jq1rio6CwDHRq\r
+ svjutWi5eep3Q==\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Feb 2014 00:53:43 -0000\r
+\r
+\r
+--8kevPEUzql0NoPNs\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, Feb 03, 2014 at 11:10:23PM +0200, Tomi Ollila wrote:\r
+> data['message-id-term'] =3D 'id:"{}"'.format(value)\r
+> ValueError: zero length field name in format\r
+\r
+Oops, Python 2.6 still needs explicit indexes ('{0}', not '{}'). It's\r
+an easy fix, so I'll queue it for v2. You're still going to need\r
+Python 2.7 or greater for collections.OrderedDict(). We could word\r
+around that too, but do we really care about 2.6? I don't expect that\r
+the installed nmbug-status userbase is so large and backward that\r
+upgrading to 2.7 will be that hard ;). 2.6 isn't even getting\r
+security fixes anymore [1], so I think it's time to migrate :p.\r
+\r
+> File "devel/nmbug/nmbug-status", line 197, in _write_threads\r
+> ).format(**message_display_data))\r
+> File "/usr/lib64/python2.6/codecs.py", line 351, in write\r
+> data, consumed =3D self.encode(object, self.errors)\r
+> UnicodeEncodeError: 'ascii' codec can't encode character u'\u017b' in\r
+> position 176: ordinal not in range(128)\r
+\r
+Hmm. __future__'s unicode_literals should be giving us a Unicode\r
+target, so I'm not sure why we'd have trouble injecting Unicode. This\r
+works fine for me on Python 2.7 and 3.3. Maybe you just have a funky\r
+encoding? What is your:\r
+\r
+ $ locale\r
+ LANG=3Den_US.UTF-8\r
+ =E2=80=A6\r
+ $ python -c 'import locale, sys; print(locale.getpreferredencoding() or s=\r
+ys.getdefaultencoding())'\r
+ UTF-8\r
+\r
+Cheers,\r
+Trevor\r
+\r
+[1]: http://www.python.org/download/releases/2.6.9/\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
+--8kevPEUzql0NoPNs\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.22 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJS8DoJAAoJEKKfehoaNkbtxZoP/i4ZtRiyU9fwCRV3i3sQk6WJ\r
+z7qHSUozUiJqIsT2g5vla/QneeSG7JrTk41xMaj0Tp2D7pYNBvm0Zt2RnSWvq+GM\r
+6tEmytV1sCuJHTcKRKArvEHZMCWcJcOez9TOLFw6IBYMemwzBiY68JhQCEf/n6/c\r
+rY2bidZzXhQXK/+xLiASSJDOEjka3JRCu7VDQcJoyMUnIKkWsTqbvt6IIVLECQXQ\r
+CGU19thF14EPVYKxYrhnPm54J6EIkALkyvVjzoBIHvJ/NOsCtmXvw3yol1YsiG9+\r
+kGWVBAlGKYOX0hjbkDRvMka8iBEKmAr2twLaBiqFfWNlgqJEIbvBtJuEOyX3p2D2\r
+EfubvY2hf+u1i0/rCVcYjuAvBsBPQzjRMfYzE0wGQ4fhE+I41n4nODJNVfUR4n9Z\r
+kULjkA95DfrwPRxIVotNL1TwxCFJ7gB0gLcCf3qkiJCVo9wttt+yj087+f9PRtDR\r
+xnJ6StPqn/UKnFRF7YQZ3RafIAZOVa6A2VESmrehLSfbwYj2PbwI+4wYxZr+dVZM\r
+Ji7kChq1UbvrPApGhxrXjDHE4Du6GQAVO3N7DbUohSA+IlLdLFpppS9/KYajaw26\r
+nJJCHXJGqtFn9aq6QH0fD1E23J02ULi1ABPWDjd23hM15c6xz5gywlQ0isRGTPxI\r
+sYaaioBhx8FYl1qLS0li\r
+=VRms\r
+-----END PGP SIGNATURE-----\r
+\r
+--8kevPEUzql0NoPNs--\r