[issue19936] Executable permissions of Python source files

Serhiy Storchaka report at bugs.python.org
Thu Jan 16 16:44:57 CET 2014


Serhiy Storchaka added the comment:

Here is a script. It lists text files with executable bits and without shebangs and files with .py, .pyw, or .sh suffix which have shebang but have not with executable bits.

As far as it searches not only Python files, now it found such files:

- ./python-gdb.py
- ./Doc/includes/email-unpack.py
- ./Doc/includes/email-alternative.py
- ./Doc/includes/email-dir.py
- ./Misc/python-config.sh
x ./Mac/PythonLauncher/MyDocument.m
x ./Mac/PythonLauncher/MyDocument.h
x ./Mac/PythonLauncher/FileSettings.m
x ./Mac/PythonLauncher/main.m
x ./Mac/PythonLauncher/FileSettings.h
- ./Tools/test2to3/maintest.py
x ./Tools/scripts/pydocgui.pyw
x ./Lib/idlelib/idle.bat
- ./Modules/_ctypes/libffi/build-ios.sh
x ./Modules/_ctypes/libffi/ltmain.sh
- ./Modules/_ctypes/libffi/msvcc.sh
- ./Modules/_ctypes/libffi/src/arm/gentramp.sh
x ./Modules/_decimal/tests/deccheck.py
x ./Modules/_decimal/tests/runall.bat
x ./Modules/_decimal/tests/bench.py
x ./PC/msvcrtmodule.c

----------
Added file: http://bugs.python.org/file33498/findnoshebang.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19936>
_______________________________________


More information about the Python-bugs-list mailing list