]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Convert all Python scripts to Python 3
authorAlistair Francis <alistair.francis@wdc.com>
Sat, 4 Jan 2020 18:03:17 +0000 (10:03 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 14 Jan 2020 06:45:06 +0000 (22:45 -0800)
Convert all of the Python scripts in tree to explicity use Python 3.

I have not explicity tested all of the scripts. Makefiles generally
explicitly use $(PYTHON) so the scripts should already support Python3.

benchtests/scripts/bench.py
benchtests/scripts/compare_bench.py
benchtests/scripts/compare_strings.py
benchtests/scripts/import_bench.py
benchtests/scripts/validate_benchout.py
conform/glibcconform.py
conform/linknamespace.py
conform/list-header-symbols.py
math/gen-libm-test.py
math/gen-tgmath-tests.py

index aeec5ccd2394aab5ec7c596216cbe880e87eb7f2..a54ec6f7e34ed6ea6a10f9018d48777ce1f42a36 100755 (executable)
@@ -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.
 #
index a215ebc9bd92ba73f299f857f55128fc96c3c556..f174161ed3147e03861f986061e4b71f988eb3d8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright (C) 2015-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
index 2b2edbf10db065b6b2b0aa9ddd92b2adb51f44de..06f7c6e1c83c9da79c4bd1a1c78cb222a34c3a77 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright (C) 2017-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
index 08681aafdc200f64f3b24a9156bce9cedf121adf..2264da00370f9f0277e1933002c159bc19899181 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright (C) 2015-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
index 715218aff804baa03a09b02632139762144f5bdf..6b4877a67b86b7919521001c92df16d2607e5676 100755 (executable)
@@ -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.
 #
index 607574557415fbbe940faf34dc551e220ce326a7..1440dedc83205b451af596d8462415d29faebadf 100644 (file)
@@ -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.
index 87cd17b1ce6f36b4e3f57d63bd370eba8efb16d1..1d27e4cfbaeccb1a028864eb2f8b7d49e443890c 100644 (file)
@@ -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.
index e43c12ec40cec714008ae1b5811a6a92e41ae316..bfa463a3034a2604ea4d453fa93da07666def72f 100644 (file)
@@ -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.
index ec263397d8922474320c237cd5f616e9939008ef..0142c0f332bbe7807f6019cad7aa27928d543276 100755 (executable)
@@ -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.
index ef207dd852af0150c81bcb801689ff1c871adc90..c225b64db1842fb92f02ab729d99d5a813cb0a30 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Generate tests for <tgmath.h> macros.
 # Copyright (C) 2017-2020 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.