summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-16 15:15:49 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-16 15:15:49 (GMT)
commitb992a0e102c1dcc8d038983755f792c2f65a233f (patch)
tree295a7f8e3d661a07f69b9fcdf9cf030274a68fb5 /Tools
parent16540408f49c6f4a4dd2a59ca27ad8f84dbb3266 (diff)
downloadcpython-b992a0e102c1dcc8d038983755f792c2f65a233f.zip
cpython-b992a0e102c1dcc8d038983755f792c2f65a233f.tar.gz
cpython-b992a0e102c1dcc8d038983755f792c2f65a233f.tar.bz2
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
Diffstat (limited to 'Tools')
-rwxr-xr-x[-rw-r--r--]Tools/gdb/libpython.py0
-rwxr-xr-x[-rw-r--r--]Tools/i18n/makelocalealias.py0
-rwxr-xr-x[-rw-r--r--]Tools/pybench/Setup.py0
-rwxr-xr-x[-rw-r--r--]Tools/pybench/clockres.py0
-rwxr-xr-x[-rw-r--r--]Tools/pybench/systimes.py0
-rw-r--r--[-rwxr-xr-x]Tools/scripts/run_tests.py0
-rwxr-xr-x[-rw-r--r--]Tools/ssl/make_ssl_data.py0
-rw-r--r--[-rwxr-xr-x]Tools/stringbench/stringbench.py0
-rwxr-xr-x[-rw-r--r--]Tools/unicode/comparecodecs.py0
-rwxr-xr-x[-rw-r--r--]Tools/unittestgui/unittestgui.py2
10 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 1c2c3cb..1c2c3cb 100644..100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
diff --git a/Tools/i18n/makelocalealias.py b/Tools/i18n/makelocalealias.py
index 8b92ae1..8b92ae1 100644..100755
--- a/Tools/i18n/makelocalealias.py
+++ b/Tools/i18n/makelocalealias.py
diff --git a/Tools/pybench/Setup.py b/Tools/pybench/Setup.py
index 21e654a..21e654a 100644..100755
--- a/Tools/pybench/Setup.py
+++ b/Tools/pybench/Setup.py
diff --git a/Tools/pybench/clockres.py b/Tools/pybench/clockres.py
index d7f1ac8..d7f1ac8 100644..100755
--- a/Tools/pybench/clockres.py
+++ b/Tools/pybench/clockres.py
diff --git a/Tools/pybench/systimes.py b/Tools/pybench/systimes.py
index 5e00891..5e00891 100644..100755
--- a/Tools/pybench/systimes.py
+++ b/Tools/pybench/systimes.py
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index e2a2050..e2a2050 100755..100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
diff --git a/Tools/ssl/make_ssl_data.py b/Tools/ssl/make_ssl_data.py
index 10244d1..10244d1 100644..100755
--- a/Tools/ssl/make_ssl_data.py
+++ b/Tools/ssl/make_ssl_data.py
diff --git a/Tools/stringbench/stringbench.py b/Tools/stringbench/stringbench.py
index 142b3ca..142b3ca 100755..100644
--- a/Tools/stringbench/stringbench.py
+++ b/Tools/stringbench/stringbench.py
diff --git a/Tools/unicode/comparecodecs.py b/Tools/unicode/comparecodecs.py
index 6525ddf..6525ddf 100644..100755
--- a/Tools/unicode/comparecodecs.py
+++ b/Tools/unicode/comparecodecs.py
diff --git a/Tools/unittestgui/unittestgui.py b/Tools/unittestgui/unittestgui.py
index 09a20e2..c3b5fa4 100644..100755
--- a/Tools/unittestgui/unittestgui.py
+++ b/Tools/unittestgui/unittestgui.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
GUI framework and application for use with Python unit testing framework.
Execute tests written using the framework provided by the 'unittest' module.