From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 154081F5A2 for ; Thu, 6 Feb 2020 23:47:22 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=SEA 69Bvstko2YVHzthbOnwqvs3DMRXXmmsNu6TsAVcHBaWhcx6y8l3hWx6yJ/l6f1Xr IfG5DEnqyFBWY75kbw83ltFHlIpLmfzjQfBqw007TJp8fgP8lB/Hi2/AwyPvJLkm 55YE5jm1bUUhAM1GjDtbuzBpVGYTj70HZ7N7X+uw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=t+afpjgQq 3yib6VjLGRl7Y1ddPA=; b=ViWpNe2CGK1OYdmPmQfZCblXS7p8eO8qKfw1LSRkR r59JwrnxROUOIEAatP/x3GGaPr9c3PCQuceZTyxq4U/3nPUkDi/yaBp2SmxOor56 arglMHuYdl0J+c60E+TZNLwVSYkjVWvs8y2aY4m1DfA4Jy3qfzHu9zlv5m/RmmPp W4= Received: (qmail 119624 invoked by alias); 6 Feb 2020 23:47:19 -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 Received: (qmail 119574 invoked by uid 89); 6 Feb 2020 23:47:18 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: esa4.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=1581032837; x=1612568837; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6Dq+chEFvFrJdIYBTIQugUF4LjUfaFFyVsMnG9Ejl+A=; b=CQV88YbTY4ItTTGL50JSatMx/WbhKEcX+JN8OCKbu1xz92+Jq6IyH2/J 02F00CzfiyaXPR09p5jqFlnPeOPn6dt0ROiz+9DP+82IMI8hFXgR4tAT/ ocTMk3nYLac8fChOG9QjmXa5ROacjbz+yHxNGzswd5u0zO4bbJITKAEIb xtcbuqL1JAEhf8hkBEo3V0MICZx8TZAGqLfR30ZlbsdzMwlyhSTITOmyc euiinsUTLlBofkhxXlaI9jtu2x/zG7KbCArPfzvpgfZHb2u1mKII1yoQE ruhaokbmSDD/03mQ4JpZfpS0OFG0EBB7ksn4s6PhpuXSL3WgjTXjZ22Ab w==; IronPort-SDR: rDILlbj/sXqDrcvlvQBaxNqwqT2h3bfMY+HVPgCbZuDfTG8sct44q6kAM8SK06unJ+4+CrRJjn 8xJ6BvuxdIQStJyeLFMunpYA7DOKqmcCHw9nclA+eungW0ArpKkXubwPEoCt4SjQU24sQ8Suu7 rUWWIlHPA5dp2B3/mb1qk+EoY84AX3nEr7WqBWKcqCDt9FXT0kfNdnBUjC6v8rYTjfYnuSRFap 0hMGtiUCXc8EjnGLh227cdp6WBgKfYWbGmwttNEu7j2SeG3G2FqRCBTrYe6Ryy4FuqBfjQagq1 hoc= IronPort-SDR: tUErvse6FZcjqjOcJYEVIzMcRinYm+uOxsvJ2oqS1BtlmKCHUaDD/BmnWDXxxxecYQKWOwyIRe fwomcwpDqkkRncqczDlkncOaCGg6vV7HdyAGxXRnFnqvQEcKd3H09POeDS52FGqIaCC0uARSC/ yk3wU8cscIgHcPsZ2EB1XaZ3aCwlonzEhQOHerZLvr5/cmlXQd0BynfQ6cIP37+T8kK/5auN4t SFCkXID29wIKGAN0kKKTwa0uJMOw8ycDgygyhyA3cqFdRlyiTIDmWK/fEiDa4nXc+h7KKhE1g3 /53gKHyvD7+YIyLKMEeN4dSM IronPort-SDR: b0lQOj6h/bZf+v/50avk6B4RmHj08hyPF26e0tZw0xpeS6Xd9zLRg74p1IZYOcY8y8rwxugQI+ CssBtXRMPdtZvd+Vzw6ZGC9xZrGQSSuYXBn0QHOpgcML0x1+Bc1dLsyr1e/Zyd5/+RD1SnAI9m KYgKgBXQZPxgg3COCTLBUjehqIbWMSW9QGgOi3zifBcqIf6qpWFwumalDGYsDKEzpMw41o2uFk hdYZNYRwoCTa7rqnujGl7eTFNwU0o9yxBPt0Djra0T5vDgVdMsualT35B99UK7tmtgGVkIlSFR x28= WDCIronportException: Internal From: Alistair Francis To: libc-alpha@sourceware.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PATCH v3] Convert Python scripts to Python 3 Date: Thu, 6 Feb 2020 15:40:27 -0800 Message-Id: <20200206234027.17311-1-alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. --- benchtests/scripts/bench.py | 2 +- benchtests/scripts/validate_benchout.py | 2 +- 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 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/benchtests/scripts/bench.py b/benchtests/scripts/bench.py index aeec5ccd23..a54ec6f7e3 100755 --- a/benchtests/scripts/bench.py +++ b/benchtests/scripts/bench.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2014-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library. # diff --git a/benchtests/scripts/validate_benchout.py b/benchtests/scripts/validate_benchout.py index 715218aff8..6b4877a67b 100755 --- a/benchtests/scripts/validate_benchout.py +++ b/benchtests/scripts/validate_benchout.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2014-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library. # 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. -- 2.25.0