Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 685B9429E26 for ; Sun, 2 Nov 2014 11:03:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 59ob7vVRw7Eg for ; Sun, 2 Nov 2014 11:03:31 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C9D4E431FAF for ; Sun, 2 Nov 2014 11:03:27 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1Xl0Qu-0007pg-6k; Sun, 02 Nov 2014 15:03:24 -0400 Received: (nullmailer pid 21933 invoked by uid 1000); Sun, 02 Nov 2014 19:03:19 -0000 From: David Bremner To: Jesse Rosenthal , notmuch@notmuchmail.org Subject: Re: [PATCH] test: Make gen-threads work with python3 In-Reply-To: <1414776805-30000-1-git-send-email-jrosenthal@jhu.edu> References: <1414776805-30000-1-git-send-email-jrosenthal@jhu.edu> User-Agent: Notmuch/0.18.2+156~g3cc8ed5 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Sun, 02 Nov 2014 20:03:19 +0100 Message-ID: <87ioixh1c8.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 19:03:38 -0000 Jesse Rosenthal writes: > python3 doesn't allow dictionaries to be initialized with non-string > keywords. This presents problems on systems in which "python" means > "python3". We instead initalize the dictionary using the dict > comprehension and then update it with the values from the tree. This > will work with both python2 and python3. pushed. d