mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Fix missing or wrong shebangs and missing executable bits for scripts (#10318)
This commit is contained in:
parent
1ce7b17165
commit
a0e92a8028
1
Tools/scripts/abitype.py
Normal file → Executable file
1
Tools/scripts/abitype.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# This script converts a C file to use the PEP 384 type definition API
|
||||
# Usage: abitype.py < old_code > new_code
|
||||
import re, sys
|
||||
|
0
Tools/scripts/cleanfuture.py
Normal file → Executable file
0
Tools/scripts/cleanfuture.py
Normal file → Executable file
0
Tools/scripts/combinerefs.py
Normal file → Executable file
0
Tools/scripts/combinerefs.py
Normal file → Executable file
0
Tools/scripts/db2pickle.py
Normal file → Executable file
0
Tools/scripts/db2pickle.py
Normal file → Executable file
1
Tools/scripts/diff.py
Normal file → Executable file
1
Tools/scripts/diff.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
""" Command line interface to difflib.py providing diffs in four formats:
|
||||
|
||||
* ndiff: lists every line and highlights interline changes.
|
||||
|
0
Tools/scripts/find_recursionlimit.py
Normal file → Executable file
0
Tools/scripts/find_recursionlimit.py
Normal file → Executable file
0
Tools/scripts/get-remote-certificate.py
Normal file → Executable file
0
Tools/scripts/get-remote-certificate.py
Normal file → Executable file
1
Tools/scripts/mailerdaemon.py
Normal file → Executable file
1
Tools/scripts/mailerdaemon.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Classes to parse mailer-daemon messages."""
|
||||
|
||||
import calendar
|
||||
|
1
Tools/scripts/make_ctype.py
Normal file → Executable file
1
Tools/scripts/make_ctype.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Script that generates the ctype.h-replacement in stringobject.c."""
|
||||
|
||||
NAMES = ("LOWER", "UPPER", "ALPHA", "DIGIT", "XDIGIT", "ALNUM", "SPACE")
|
||||
|
0
Tools/scripts/md5sum.py
Normal file → Executable file
0
Tools/scripts/md5sum.py
Normal file → Executable file
1
Tools/scripts/patchcheck.py
Normal file → Executable file
1
Tools/scripts/patchcheck.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
import sys
|
||||
import shutil
|
||||
|
0
Tools/scripts/pickle2db.py
Normal file → Executable file
0
Tools/scripts/pickle2db.py
Normal file → Executable file
0
Tools/scripts/pysource.py
Normal file → Executable file
0
Tools/scripts/pysource.py
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Make a reST file compliant to our pre-commit hook.
|
||||
# Currently just remove trailing whitespace.
|
||||
|
0
Tools/scripts/svneol.py
Normal file → Executable file
0
Tools/scripts/svneol.py
Normal file → Executable file
Loading…
Reference in New Issue
Block a user