From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 857A23857C64 for ; Mon, 24 Aug 2020 10:02:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 857A23857C64 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-175-qibm5OtAMLenIc6GPsooAQ-1; Mon, 24 Aug 2020 06:02:14 -0400 X-MC-Unique: qibm5OtAMLenIc6GPsooAQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3E51610ABDA8 for ; Mon, 24 Aug 2020 10:02:13 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-113-99.ams2.redhat.com [10.36.113.99]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 08BC81A3D7 for ; Mon, 24 Aug 2020 10:02:13 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 6F3B0A82B8D; Mon, 24 Aug 2020 12:02:11 +0200 (CEST) Date: Mon, 24 Aug 2020 12:02:11 +0200 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] doc: Various fixes to makedocbook for python3.8 Message-ID: <20200824100211.GD3272@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20200822184520.57006-1-jon.turney@dronecode.org.uk> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 10:02:18 -0000 On Aug 23 16:49, Brian Inglis wrote: > On 2020-08-23 13:41, Jon Turney wrote: > > On 23/08/2020 16:23, Ken Brown wrote: > >> On 8/22/2020 2:45 PM, Jon Turney wrote: > >>> --- > >>>   newlib/doc/makedocbook.py | 8 +++++--- > >>>   1 file changed, 5 insertions(+), 3 deletions(-) > >>> > >>> diff --git a/newlib/doc/makedocbook.py b/newlib/doc/makedocbook.py > >>> index 92d0f279d..3fab26f1a 100755 > >>> --- a/newlib/doc/makedocbook.py > >>> +++ b/newlib/doc/makedocbook.py > > [...] > >> Would it make sense to also change the shebang line so that makedocbook.py > >> uses python3?  Currently the build of Cygwin on Fedora uses python3, but the > >> build of Cygwin on Cygwin uses python2.  This is of no great importance, but a > >> recent IRC discussion shows that it can be confusing. > > > > Yeah, I guess that would make some sense, given that python2 is now EOL. > > > > Otoh, making it gratuitously not work with python2 seems a bit harsh. > > > > On the gripping hand, reading PEP 0394, I see it doesn't actually require that > > 'python' exist at all, so I guess changing the shebang as you suggest is the > > right thing to do. > > Is it not perhaps time to switch python from EOL python2 to python3, as there > are only 183 python2, 125 python27 to 199 python3, 129 python37 packages. This discussion actually belongs on cygwin-apps, not on newlib ¯\_(ツ)_/¯ Thanks, Corinna