mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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:
parent
c014359a7d
commit
4f88b38097
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user