From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 63F266DE1687 for ; Tue, 12 Jun 2018 03:48:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.111 X-Spam-Level: X-Spam-Status: No, score=-0.111 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OMuii7S023w2 for ; Tue, 12 Jun 2018 03:48:05 -0700 (PDT) Received: from nimbus.chaotikum.eu (nimbus.chaotikum.eu [104.238.167.87]) by arlo.cworth.org (Postfix) with ESMTPS id 697A06DE167F for ; Tue, 12 Jun 2018 03:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaotikum.eu; s=20170824; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AFUknuDTP+SGjZPrfSmoVNJatjDitC06vSjIvr0xSOs=; b=sJf1SboKZ5adysfo7QmHIeO0e ElKY093BrNHuYSQPh1uiCJkmcrZFx23Z8NavmcN3yv0Dexinfrgm+XDljS2UuPx5RB7Uq0P95g67m 6aNMcjxQ6gTe946gtceR4R9U9XZ2lORTjfiB7ha6UjhxX5o7Q2Yk+hhdd8qVlDC3ExlLdQrOhYtFL r/uKXx7L6xyvzp/O00ylG4sKJxxd/paG+Ycpv27ZFJwyOlm4iX017X1f6MPbVrlaHmz1VPciK0CaR AR2i809EzUP+CEWpe/GlpU7J2CmvIJx3o4o4NTTJ/k9KvrFUrQohcktP0+c5YnBHi/N2Xp2oG85Y1 s98oQ/hMBnLbA53qsqYaVxQa2uYHPVQAujQtw+eSMxW3aQfAvYnfIEpNEQtprUlWxn7AhAKyLMb9S EFpSjPzEEhabK7FJ/nw8xgTZlP/USU2NPs2zpMzp/X3L1gGqVSvPhhNrU6JkiZNH2m2gK1AAbD+Kf BF2cItnLRjR+wbdnOftWfPEDK; Received: from [2a00:8a60:c000:1:2ccb:6651:7dfd:f385] (port=37856 helo=coruscant.chaotikum.eu) by nimbus.chaotikum.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fSgqF-0002iP-4L; Tue, 12 Jun 2018 12:47:59 +0200 From: Thomas Schneider To: Tomi Ollila , Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH] devel: make printmimestructure py3 compatible In-Reply-To: References: <20180611232244.27207-1-dkg@fifthhorseman.net> User-Agent: Notmuch/0.26.1 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 12 Jun 2018 12:47:58 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Tue, 12 Jun 2018 10:48:07 -0000 Tomi Ollila writes: > On Mon, Jun 11 2018, Daniel Kahn Gillmor wrote: > >> Make printmimestructure work in python3 as well as python2. >> >> PEP 394 suggests that python scripts that work with both python2 and >> python3 should have a #!/usr/bin/python command line, so do that too. > > I did not see PEP 394 suggesting to change > > -#!/usr/bin/env python > +#!/usr/bin/python > > just that 'python' should be able to run both python2 and python3 code. > > after the above change the code will not run on (those stupid) systems > that install python to e.g. /usr/local/bin/. For example all BSD systems, where the package manager installs to /usr/local (and I do not think this is stupid). > While I am not against this change, the commit message is misleading. For the above reason, I am against changing the shebang at all. --qsx