Convert Python scripts to Python 3

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.
This commit is contained in:
Alistair Francis 2020-01-04 10:03:17 -08:00
parent c014359a7d
commit 4f88b38097
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Copyright (C) 2014-2020 Free Software Foundation, Inc. # Copyright (C) 2014-2020 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Copyright (C) 2014-2020 Free Software Foundation, Inc. # Copyright (C) 2014-2020 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Shared code for glibc conformance tests. # Shared code for glibc conformance tests.
# Copyright (C) 2018-2020 Free Software Foundation, Inc. # Copyright (C) 2018-2020 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Check that use of symbols declared in a given header does not result # 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 # in any symbols being brought in that are not reserved with external
# linkage for the given standard. # linkage for the given standard.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Print a list of symbols exported by some headers that would # Print a list of symbols exported by some headers that would
# otherwise be in the user's namespace. # otherwise be in the user's namespace.
# Copyright (C) 2018-2020 Free Software Foundation, Inc. # Copyright (C) 2018-2020 Free Software Foundation, Inc.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Generate tests for libm functions. # Generate tests for libm functions.
# Copyright (C) 2018-2020 Free Software Foundation, Inc. # Copyright (C) 2018-2020 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Generate tests for <tgmath.h> macros. # Generate tests for <tgmath.h> macros.
# Copyright (C) 2017-2020 Free Software Foundation, Inc. # Copyright (C) 2017-2020 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.