From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 007113840C25; Fri, 7 Aug 2020 16:21:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 007113840C25 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C868F1171DB; Fri, 7 Aug 2020 12:21:19 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FcQg0mPtGpo2; Fri, 7 Aug 2020 12:21:19 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9898C1171B1; Fri, 7 Aug 2020 12:21:19 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 0D23A82C47; Fri, 7 Aug 2020 09:21:18 -0700 (PDT) Date: Fri, 7 Aug 2020 09:21:18 -0700 From: Joel Brobecker To: Simon Marchi Cc: gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: FYI: git-hooks update on sourceware.org Message-ID: <20200807162118.GF3362@adacore.com> References: <20200807154423.GB3362@adacore.com> <20200807155017.GC3362@adacore.com> <31207ab5-403b-180f-e74f-9b6e8d1dc5a4@simark.ca> <19669201-5e6f-99ce-a5ba-c91c78616fce@simark.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19669201-5e6f-99ce-a5ba-c91c78616fce@simark.ca> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 16:21:21 -0000 > > What version of Python are you using, is it really old? All the > > reasonably recent and supported Python versions ship with the enum > > module. > > Ah nevermind, I thought it was available in 2.7, but no. So I presume > you use 2.7. Overseers just got it installed for us. So I've re-done the update. > Or, making sure you use python3 on the server could just be easier. This is in my TODO, but I'm still busy finishing up on the enhancement requests made by the GCC community. Once that's done, I'll start working on the transition to Python 3.x. I expect it to be a lot of work, not necessarily because the code might need a lot of transformation (it's possible, but my experience with the style_checker regarding that has been that it's fairly limited), but because I have to redo the testsuite framework, and then transition every testcase (all 200 of them). Since I do all that work during a few hours each weekend, I don't expect this to be done before end of this year at best. I look forward to being able to use all the new Python features brought by the latest Python though! I will install your script on Monday (I have more chances to be at my desk if something goes wrong). -- Joel