This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients allan, belopolsky, benjamin.peterson, docs@python, eric.araujo, eric.smith, georg.brandl, ncoghlan, ned.deily, orsenthil, r.david.murray
Date 2010-11-09.16:46:30
SpamBayes Score 0.00031036144
Marked as misclassified No
Message-id <1289321192.07.0.380272666306.issue10318@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to add my +1 to Eric's msg120485 above.  What I really find puzzling is why some scripts in Tools/ have hashbangs, but don't have execute permission.

Tools/scripts/cleanfuture.py
Tools/scripts/combinerefs.py
Tools/scripts/db2pickle.py
Tools/scripts/find_recursionlimit.py
Tools/scripts/md5sum.py
Tools/scripts/pickle2db.py
Tools/scripts/pysource.py
Tools/scripts/svneol.py

I suggest a simple rule: no execute bit set in permissions - no hashbang line.

And I don't think stdlib modules should have execute bit:

-rwxr-xr-x Lib/base64.py
-rwxr-xr-x Lib/cProfile.py
-rwxr-xr-x Lib/cgi.py
-rwxr-xr-x Lib/keyword.py
-rwxr-xr-x Lib/pdb.py
-rwxr-xr-x Lib/platform.py
-rwxr-xr-x Lib/profile.py
-rwxr-xr-x Lib/pydoc.py
-rwxr-xr-x Lib/quopri.py
-rwxr-xr-x Lib/smtpd.py
-rwxr-xr-x Lib/smtplib.py
-rwxr-xr-x Lib/symbol.py
-rwxr-xr-x Lib/tabnanny.py
-rwxr-xr-x Lib/token.py
-rwxr-xr-x Lib/uu.py

-rwxr-xr-x Lib/test/pystone.py
-rwxr-xr-x Lib/test/re_tests.py
-rwxr-xr-x Lib/test/regrtest.py
-rwxr-xr-x Lib/test/test_array.py
-rwxr-xr-x Lib/test/test_binhex.py
-rwxr-xr-x Lib/test/test_dbm_gnu.py
-rwxr-xr-x Lib/test/test_dbm_ndbm.py
-rwxr-xr-x Lib/test/test_errno.py
-rwxr-xr-x Lib/test/test_userstring.py
History
Date User Action Args
2010-11-09 16:46:32belopolskysetrecipients: + belopolsky, georg.brandl, ncoghlan, orsenthil, eric.smith, benjamin.peterson, ned.deily, eric.araujo, r.david.murray, docs@python, allan
2010-11-09 16:46:32belopolskysetmessageid: <1289321192.07.0.380272666306.issue10318@psf.upfronthosting.co.za>
2010-11-09 16:46:30belopolskylinkissue10318 messages
2010-11-09 16:46:30belopolskycreate