]> granicus.if.org Git - python/commitdiff
Issue #19936: Added executable bits or shebang lines to Python scripts which
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 16 Jan 2014 16:59:17 +0000 (18:59 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 16 Jan 2014 16:59:17 +0000 (18:59 +0200)
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.

134 files changed:
Demo/comparisons/patterns [changed mode: 0755->0644]
Demo/curses/ncurses.py [changed mode: 0644->0755]
Demo/curses/rain.py [changed mode: 0644->0755]
Demo/curses/tclock.py [changed mode: 0644->0755]
Demo/md5test/foo [changed mode: 0755->0644]
Demo/scripts/newslist.doc [changed mode: 0755->0644]
Demo/tix/bitmaps/about.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/bold.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/capital.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/centerj.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/combobox.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/combobox.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/combobox.xpm.1 [changed mode: 0755->0644]
Demo/tix/bitmaps/drivea.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/drivea.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/exit.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/filebox.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/filebox.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/italic.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/justify.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/leftj.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/netw.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/netw.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/optmenu.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/rightj.xbm [changed mode: 0755->0644]
Demo/tix/bitmaps/select.xpm [changed mode: 0755->0644]
Demo/tix/bitmaps/underline.xbm [changed mode: 0755->0644]
Demo/tkinter/guido/canvasevents.py [changed mode: 0644->0755]
Demo/tkinter/guido/newmenubardemo.py [changed mode: 0644->0755]
Demo/tkinter/guido/sortvisu.py [changed mode: 0644->0755]
Demo/turtle/tdemo_I_dontlike_tiltdemo.py [changed mode: 0644->0755]
Demo/turtle/tdemo_bytedesign.py [changed mode: 0644->0755]
Demo/turtle/tdemo_clock.py [changed mode: 0644->0755]
Demo/turtle/tdemo_fractalcurves.py [changed mode: 0644->0755]
Demo/turtle/tdemo_lindenmayer_indian.py [changed mode: 0644->0755]
Demo/turtle/tdemo_minimal_hanoi.py [changed mode: 0644->0755]
Demo/turtle/tdemo_paint.py [changed mode: 0644->0755]
Demo/turtle/tdemo_peace.py [changed mode: 0644->0755]
Demo/turtle/tdemo_penrose.py [changed mode: 0644->0755]
Demo/turtle/tdemo_planet_and_moon.py [changed mode: 0644->0755]
Demo/turtle/tdemo_tree.py [changed mode: 0644->0755]
Demo/turtle/tdemo_yinyang.py [changed mode: 0644->0755]
Demo/turtle/turtleDemo.py [changed mode: 0644->0755]
Demo/turtle/turtledemo_two_canvases.py [changed mode: 0644->0755]
Lib/Cookie.py
Lib/bsddb/dbshelve.py
Lib/bsddb/test/test_dbtables.py
Lib/difflib.py
Lib/encodings/rot_13.py [changed mode: 0644->0755]
Lib/lib2to3/tests/data/different_encoding.py [changed mode: 0644->0755]
Lib/lib2to3/tests/data/false_encoding.py [changed mode: 0644->0755]
Lib/mailbox.py
Lib/tarfile.py
Lib/test/crashers/recursive_call.py [changed mode: 0644->0755]
Lib/test/curses_tests.py [changed mode: 0644->0755]
Lib/test/test___future__.py
Lib/test/test_al.py [changed mode: 0755->0644]
Lib/test/test_anydbm.py
Lib/test/test_array.py [changed mode: 0755->0644]
Lib/test/test_binhex.py [changed mode: 0755->0644]
Lib/test/test_bsddb.py [changed mode: 0755->0644]
Lib/test/test_bz2.py
Lib/test/test_cd.py [changed mode: 0755->0644]
Lib/test/test_cl.py [changed mode: 0755->0644]
Lib/test/test_cmd.py
Lib/test/test_codecencodings_cn.py
Lib/test/test_codecencodings_hk.py
Lib/test/test_codecencodings_iso2022.py
Lib/test/test_codecencodings_jp.py
Lib/test/test_codecencodings_kr.py
Lib/test/test_codecencodings_tw.py
Lib/test/test_codecmaps_cn.py
Lib/test/test_codecmaps_hk.py
Lib/test/test_codecmaps_jp.py
Lib/test/test_codecmaps_kr.py
Lib/test/test_codecmaps_tw.py
Lib/test/test_dl.py [changed mode: 0755->0644]
Lib/test/test_dumbdbm.py
Lib/test/test_eof.py
Lib/test/test_errno.py [changed mode: 0755->0644]
Lib/test/test_gl.py [changed mode: 0755->0644]
Lib/test/test_gzip.py
Lib/test/test_imageop.py [changed mode: 0755->0644]
Lib/test/test_imgfile.py [changed mode: 0755->0644]
Lib/test/test_logging.py
Lib/test/test_marshal.py
Lib/test/test_multibytecodec.py
Lib/test/test_multibytecodec_support.py
Lib/test/test_multiprocessing.py
Lib/test/test_popen.py
Lib/test/test_popen2.py
Lib/test/test_random.py
Lib/test/test_sets.py
Lib/test/test_smtpnet.py
Lib/test/test_socket.py
Lib/test/test_tcl.py
Lib/test/test_urllib2_localnet.py
Lib/test/test_urllib2net.py
Lib/test/test_urllibnet.py
Lib/test/test_urlparse.py
Lib/test/test_userstring.py [changed mode: 0755->0644]
Lib/test/test_whichdb.py
Lib/test/test_with.py
Lib/timeit.py [changed mode: 0644->0755]
Lib/token.py [changed mode: 0755->0644]
Lib/trace.py [changed mode: 0644->0755]
Lib/webbrowser.py [changed mode: 0644->0755]
Mac/Modules/carbonevt/_CarbonEvtmodule.c [changed mode: 0755->0644]
Mac/Modules/cg/CFMLateImport.c [changed mode: 0755->0644]
Mac/Modules/cg/CFMLateImport.h [changed mode: 0755->0644]
Mac/Modules/cg/CGStubLib.exp [changed mode: 0755->0644]
Mac/Modules/cg/CGStubLib.readme [changed mode: 0755->0644]
Mac/Modules/cg/_CGmodule.c [changed mode: 0755->0644]
Mac/PythonLauncher/FileSettings.h [changed mode: 0755->0644]
Mac/PythonLauncher/FileSettings.m [changed mode: 0755->0644]
Mac/PythonLauncher/MyDocument.h [changed mode: 0755->0644]
Mac/PythonLauncher/MyDocument.m [changed mode: 0755->0644]
Mac/PythonLauncher/main.m [changed mode: 0755->0644]
Mac/Tools/fixapplepython23.py [changed mode: 0644->0755]
Mac/scripts/buildpkg.py [changed mode: 0644->0755]
Mac/scripts/mkestrres-macerrors.h [changed mode: 0755->0644]
Mac/scripts/zappycfiles.py [changed mode: 0644->0755]
Misc/NEWS
Modules/_ctypes/libffi/generate-ios-source-and-headers.py [changed mode: 0644->0755]
Modules/_ctypes/libffi/generate-osx-source-and-headers.py [changed mode: 0644->0755]
PC/msvcrtmodule.c [changed mode: 0755->0644]
Tools/gdb/libpython.py [changed mode: 0644->0755]
Tools/i18n/makelocalealias.py [changed mode: 0644->0755]
Tools/pybench/Setup.py [changed mode: 0644->0755]
Tools/pybench/clockres.py [changed mode: 0644->0755]
Tools/pybench/systimes.py [changed mode: 0644->0755]
Tools/scripts/svneol.py [changed mode: 0644->0755]
Tools/ssl/get-remote-certificate.py [changed mode: 0644->0755]
Tools/unicode/comparecodecs.py [changed mode: 0644->0755]

old mode 100755 (executable)
new mode 100644 (file)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index db32980aca34e1f12e93004f0d10eb3afed8c308..452d4e3c75cf74fe13c2d5ba2b877c9fe9407eff 100644 (file)
@@ -1,6 +1,3 @@
-#!/usr/bin/env python
-#
-
 ####
 # Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
 #
index 85deb13a510f49cf0d5478622c20479c7378bf46..7d0daa2f2588c539efc034958c8d845003785c1d 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #------------------------------------------------------------------------
 #           Copyright (c) 1997-2001 by Total Control Software
 #                         All Rights Reserved
index bb31381e14f0c9b18f40006841ff6401e5e5fefb..250c4925fd4acb255359bd3d6e85adcbe52a8b1a 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
 #-----------------------------------------------------------------------
 # A test suite for the table interface built on bsddb.db
 #-----------------------------------------------------------------------
index f94b3aca29bc4bacc206a54be2da252c6dfb8e01..5dac1d63aea9a058cecec3af6059fc14633315c8 100644 (file)
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 """
 Module difflib -- helpers for computing deltas between objects.
 
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 4cdd7d45ea175222c6c8c5e244992a52f29de762..ba497530872db06178cf3a5c073c9af2e50b667b 100644 (file)
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
 
 # Notes for authors of new mailbox subclasses:
index 44ecd24eff1368938fe1d130d8a04411fbee2363..e73ac90ede0adc919be8e73f334025e314e90d97 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: iso-8859-1 -*-
 #-------------------------------------------------------------------
 # tarfile.py
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 1d8f8e6852503264e96411d9e98be4e1875bfa07..b573382db92383fbac37bc12126938012c028118 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 import unittest
 from test import test_support
 import __future__
old mode 100755 (executable)
new mode 100644 (file)
index 688576d..a00abfc
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Whimpy test script for the al module
    Roger E. Masse
 """
index a01dd0bd9fc0b92f920660de2103763e7d2a60c5..24120610cd695b0a82bf02be17d4e8ad6dc967e4 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the anydbm module
    based on testdumbdbm.py
 """
old mode 100755 (executable)
new mode 100644 (file)
index 74594e4..b933cbf
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test the arraymodule.
    Roger E. Masse
 """
old mode 100755 (executable)
new mode 100644 (file)
index 2f89703..1f6a0aa
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the binhex C module
 
    Uses the mechanism of the python binhex module
old mode 100755 (executable)
new mode 100644 (file)
index 3a10fab..3ff020a
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the bsddb C module by Roger E. Masse
    Adapted to unittest format and expanded scope by Raymond Hettinger
 """
index 99a687db9ce78cbbac130e6b69d3225741f3749d..e2c222ad8a82c4f357c7539649d5125aafe4ec4c 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 from test import test_support
 from test.test_support import TESTFN, _4G, bigmemtest, import_module, findfile
 
old mode 100755 (executable)
new mode 100644 (file)
index edaa82b..18ca586
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Whimpy test script for the cd module
    Roger E. Masse
 """
old mode 100755 (executable)
new mode 100644 (file)
index 50102e9..9582282
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Whimpy test script for the cl module
    Roger E. Masse
 """
index ed9258b1bfe1c12903a2c3e9a60f22c6a63aaac9..2cb2c88f73d10b9cb47f6ce342aee3dd3db38507 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 """
 Test script for the 'cmd' module
 Original by Michael Schneider
index 215e8de3b667cdeaf367f3b74b7bff6f412de19e..cd102fd2bc68676816a2e8a1a3d98fe4c0bd0a83 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecencodings_cn.py
 #   Codec encoding tests for PRC encodings.
index b1c260631fdddff2e06d4b66a4dd350f32a58930..391c3164f0bc12178cee17625910e499a28c83ee 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecencodings_hk.py
 #   Codec encoding tests for HongKong encodings.
index 343308c4f84677134d6559e1dfe8f999be1ab7d1..9f23628e52c777c1eb49823dcd3b92f909520bd5 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
 # Codec encoding tests for ISO 2022 encodings.
 
 from test import test_support
index 5f81f41206e01ca7f67dcc9a7287f74e06a397e7..f3cf92350800c767120c03acb214fa66504dd4cb 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecencodings_jp.py
 #   Codec encoding tests for Japanese encodings.
index 8c866a9caaa7fcda05ed4fd7bc42521e3834d451..45ea62b5b085cb3f5ee3850190ef30129d14b112 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecencodings_kr.py
 #   Codec encoding tests for ROK encodings.
index 983d06f00342d6f3b4bc9d7905ad9863c66fefdc..c62d321dd6dc4a3622cdd828af935b367d7a1eaa 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecencodings_tw.py
 #   Codec encoding tests for ROC encodings.
index 344fc562f715254feca0419a416b402ba27ec9e6..9f428581257485edb45d07eb9890cdb02afc2e97 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecmaps_cn.py
 #   Codec mapping tests for PRC encodings
index 362ab7fafcbfe8d516597a67d8968cec586967fc..7ba191b1cdbe3f74ff1af7f2d6c1adf2589fd9bf 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecmaps_hk.py
 #   Codec mapping tests for HongKong encodings
index 5466a986b9d32c889c0060bcaba932ddc68bdda9..0bf43b676bf4c3ae4a0b5f92f7f4ba4ac350e2fa 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecmaps_jp.py
 #   Codec mapping tests for Japanese encodings
index 39c612e8a22452d0290ab6028361b3790ff8560e..b2513ea71b46474ef37a455495f0bc216b94c1e1 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecmaps_kr.py
 #   Codec mapping tests for ROK encodings
index 143ae230b877c806dc1c9723467726e2abb7225f..ff6a356b5a3b4a4bb98eec4e8cb4aa80d576b703 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 # test_codecmaps_tw.py
 #   Codec mapping tests for ROC encodings
old mode 100755 (executable)
new mode 100644 (file)
index 6069a77..da9730f
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test dlmodule.c
    Roger E. Masse  revised strategy by Barry Warsaw
 """
index abdfbc0739d43475ea90d7d9e57afabf1ad1f713..6f5324fd948fe37aac35928ba733e4b09465a017 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the dumbdbm module
    Original by Roger E. Masse
 """
index 763917f0dfc5e9986c78ae7c26ba61679617c5d9..7de4686c4551cd782f242ed4d2d7d2194afbffc5 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """test script for a few new invalid token catches"""
 
 import unittest
old mode 100755 (executable)
new mode 100644 (file)
index bb8918f..7a37d3a
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test the errno module
    Roger E. Masse
 """
old mode 100755 (executable)
new mode 100644 (file)
index c9264ee..92e1e8d
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Very simple test script for the SGI gl library extension module
     taken mostly from the documentation.
     Roger E. Masse
index a82c56e0e6d9545b194d9bdf36c6c3dfa4723481..aa56ed3ab509516d703f563df37e38adc30e0a1b 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the gzip module.
 """
 
old mode 100755 (executable)
new mode 100644 (file)
index 56320fb..31edbd1
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 """Test script for the imageop module.  This has the side
    effect of partially testing the imgfile module as well.
    Roger E. Masse
old mode 100755 (executable)
new mode 100644 (file)
index 39e8917..67a2315
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 """Simple test script for imgfile.c
    Roger E. Masse
 """
index 0c105800ac90403d8f750409066bcf2dfd6975cc..677f013ea393c300b53d2ac9de170c96646a5f96 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
 # Copyright 2001-2013 by Vinay Sajip. All Rights Reserved.
 #
 # Permission to use, copy, modify, and distribute this software and its
index f7cd195006572a42fe569267cde9413a7a621303..59fa3eb5ab4d15223f20c11a7827d4d3425caca7 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: iso-8859-1 -*-
 
 from test import test_support
index 2afe9de0c1986d9e0b9b53c63cd040b282394fca..8aca3819e64bbe4c5ea76831d4127f2648a238b7 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
 # test_multibytecodec.py
 #   Unit test for multibytecodec itself
 #
index 3955663f457e8175db93684f9c7bd8cf693f4a39..c5dcfa3af91f3b03f2cd623f2647a86b1325076a 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
 # test_multibytecodec_support.py
 #   Common Unittest Routines for CJK codecs
 #
index 956c0367c2e64bc11136ad51bc920e0fe2aae517..42f6dd9326408d78340c4b7da56fde91075e733f 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 #
 # Unit tests for the multiprocessing package
 #
index 92b5e92ad58fabdf22d02f536158423b09a9539c..82d4621493f3b4ffa7de96924b81e347423e3b9d 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Basic tests for os.popen()
 
   Particularly useful for platforms that fake popen.
index ea4107534fd73c6efd7178fe93e668875d00f2b7..4a745e241cd35e7665f89d35897498537d7fff42 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for popen2.py"""
 
 import warnings
index 911bdec552b95656e0947ae63d97014b872733f2..ba447ee57aa50657a672e3cc83459969f655cd19 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 import random
 import time
index 0754ed74fc7b86671d27dd4fd8f61ea539ba0cb8..319bdcb5fbe64c74b25246344af3bb70f1adfd08 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest, operator, copy, pickle, random
 from test import test_support
 
index 2dc39eb8f7079fc1b2a86ef0d42861471cd864ec..00ce9dd3df72dd7b8c97a3322b9918639d312aa0 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 from test import test_support
 import smtplib
index 0bce1b4b9abd81efd8873a1b4c50b4645d4871d5..549e79c6137ba9e3b3cfe0b4d42d8a00ecef51c2 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 from test import test_support
 
index ec21f077de64ef8dc4b3838ca36cdcd35dd1240b..d02b4394114fc386f9204be5342625041db35e32 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 import sys
 import os
index 0802f69dc80f8a9183bc440d55f3d9205aaa9a8b..2e87f117fba213581b0c1e441b1c4765c53a849a 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import urlparse
 import urllib2
 import BaseHTTPServer
index 4d73ac0acf9f4aff330b34a5a5453a57755357e2..d22b59e564dc0f99cbbefe93a4da77321d744fd7 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 from test import test_support
 from test.test_urllib2 import sanepathname2url
index 4ce7a9b45ed3c39d6174805c9fdbdfe26b977824..cc65d9932bd256c729e0a8a6950c1f7116f5d37d 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 import unittest
 from test import test_support
 
index 72ebfaa0896e69595e10164ee6c97a7b59be66b0..13dd297c49bee64f30c7ddcc27d3f11c002d4524 100644 (file)
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 from test import test_support
 import unittest
 import urlparse
old mode 100755 (executable)
new mode 100644 (file)
index 2625985..51d8e8b
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # UserString is a wrapper around the native builtin string type.
 # UserString instances should behave similar to builtin string objects.
 
index 427e323f4943e638d116f16399bb7980ea39c77d..91ab7f9b2cec1bc5d143d81e4ab26166f15c42f7 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 """Test script for the whichdb module
    based on test_anydbm.py
 """
index 496451833c316391eb20bf553b85e2872bb3a9a1..e7dd001b53924a41122b5b99e49677a3f490df3c 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 """Unit tests for the with statement specified in PEP 343."""
 
 
old mode 100644 (file)
new mode 100755 (executable)
old mode 100755 (executable)
new mode 100644 (file)
index 34abf62..45825b4
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 """Token constants (from "token.h")."""
 
 #  This file is automatically generated; please don't muck it up!
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100644 (file)
new mode 100755 (executable)
index e588ea7b4048baa0b1dddcc43ee687a237b7549b..884301ab3beb6d748e0f0530fbdcfef7496d1630 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -152,6 +152,14 @@ Library
 - Issue #19286: Directories in ``package_data`` are no longer added to
   the filelist, preventing failure outlined in the ticket.
 
+Tools/Demos
+-----------
+
+- 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.
+
 IDLE
 ----
 
old mode 100755 (executable)
new mode 100644 (file)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)