From patchwork Thu Feb 6 22:11:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 37717 Received: (qmail 79709 invoked by alias); 6 Feb 2020 22:18:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 79699 invoked by uid 89); 6 Feb 2020 22:18:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT autolearn=ham version=3.3.1 spammy=sk:gen-tgm, gentgmathtestspy, sk:gentgm, UD:gen-tgmath-tests.py X-HELO: esa1.hgst.iphmx.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1581027480; x=1612563480; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vV6vaU3E7DREQzv5M53XAWxM9toVi1yx5PfOVzz9cP8=; b=rSyz90Z9mW+08vM7x2NIy4xbUSKXhj0Idj+N7hMNnsaovGVbBWt9OlWQ Rw6PvILSAvQJFVDFs8H7Nl26Nk742CZ6D2Dz+z7oJOMlK3UcHwe4DroPD 7pfS62Bq1mZ+UBdEHGwPh6d7/f+LPIkVJPPDD1nxyWUGc2NJ1f3aoe8PQ By0itqBQevMYzJlMMHDJHDSd2SRJl4UMRYiBkAxUB9HpzKNgVAHqt1ovW a4EI2v6Uq6t9fUmw/j9OiQhsb7+AODI+gExTsx2fli0d20IMgEdah307A orQO/CrIkX36qchVkkz1v2ff85LyM41SKNsVJuw6hA4WUuVU2rjym5LWV A==; IronPort-SDR: FcOpLw9E33rNWrQT9BsHauNJDUtHtA/2foaLI6NgAYM4+m7ZB8mJa8AAWiXUw3pkjuf88IRuJh ZFN0bofOT7rRRpOAitrB5wmmDAdSwMTzqrf46QXfoqBDVRWqEuKTsv50C+1LtS1cZvsC73k9lu 8DkOlpGnbfru0HpUNSoCJuXb+Ssd8jpSh1QP1ewIZ87K6efP/rSf1PM/9sHyX9rOThCnSNJ9ai NVA+61fycT5KV20byOZcb+evegL8825KTn7M/mW8XikwOWB/mfVuPFAqXKWLw3ACY54fGFDg7H 5Xo= IronPort-SDR: rzBpFK7PlIQ4P9sB85pic/RZnnx57HKygySTVpssfeckg5hEumwOoJ+ZQ0vq817Mjk9jX/IHKG oexhE/0GXiU9oy/dHCBUMYeYnOdor9jtFMfx3OBWGSb+LBpDIVrRDb7iQ8ii/pIAab16q1oLGc 6G7UhH/svgxX3j/wTympkkFFZSf2Nk8hL2jhbpOutg7/F6RjINzGGxy9OzhgzYSRcWhvUa6KSk 5lx+YT9o/oZn0FRD/sfXIdhrArNrUpNjPRosES38uEmGBOAdqs3QsLWpvHSjBVr6nUXeq82NiR wg7CLhyWemNsOmSa06tuGsXm IronPort-SDR: 9h40E3qAFPheVPcR3s04gW0073wjQNsluWNuartWTpfxrTqoUBhXaGuLa0vDaLy4PeDo6vv9HL rKQE9GODvoos5bZVPzR0USDlVhc85Pcd+KPZsoEiaoekDBPM8fAg43+CETeZoMsJzk4+UIx679 yZ0mCZ3DhuUZShn88YkDD80xDpMr6FfMnm1HteTqilL9FMv2AhjsZF/gsxp5Fi+rzJBG8kl1gB aDgDZ1eQ1n2IuHnAkhOFgXs6M9jnUoWv2CEF4ZtHUpHHJE05BBdr4ebF8BzdW4lKGvXyvClvFP Pwc= WDCIronportException: Internal From: Alistair Francis To: libc-alpha@sourceware.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PATCH v2] Convert Python scripts to Python 3 Date: Thu, 6 Feb 2020 14:11:11 -0800 Message-Id: <20200206221111.5516-1-alistair.francis@wdc.com> MIME-Version: 1.0 Change all of the #! lines in Python scripts that are called from Makefiles to reference /usr/bin/python3. All of the scripts called from Makefiles are already run with Python 3, so let's make sure they are explicitly using Python 3 if called manually. --- conform/glibcconform.py | 2 +- conform/linknamespace.py | 2 +- conform/list-header-symbols.py | 2 +- math/gen-libm-test.py | 2 +- math/gen-tgmath-tests.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conform/glibcconform.py b/conform/glibcconform.py index 6075745574..1440dedc83 100644 --- a/conform/glibcconform.py +++ b/conform/glibcconform.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Shared code for glibc conformance tests. # Copyright (C) 2018-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library. diff --git a/conform/linknamespace.py b/conform/linknamespace.py index 87cd17b1ce..1d27e4cfba 100644 --- a/conform/linknamespace.py +++ b/conform/linknamespace.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Check that use of symbols declared in a given header does not result # in any symbols being brought in that are not reserved with external # linkage for the given standard. diff --git a/conform/list-header-symbols.py b/conform/list-header-symbols.py index e43c12ec40..bfa463a303 100644 --- a/conform/list-header-symbols.py +++ b/conform/list-header-symbols.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Print a list of symbols exported by some headers that would # otherwise be in the user's namespace. # Copyright (C) 2018-2020 Free Software Foundation, Inc. diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py index ec263397d8..0142c0f332 100755 --- a/math/gen-libm-test.py +++ b/math/gen-libm-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Generate tests for libm functions. # Copyright (C) 2018-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library. diff --git a/math/gen-tgmath-tests.py b/math/gen-tgmath-tests.py index ef207dd852..c225b64db1 100755 --- a/math/gen-tgmath-tests.py +++ b/math/gen-tgmath-tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Generate tests for macros. # Copyright (C) 2017-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library.