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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19936>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to