diff options
134 files changed, 8 insertions, 78 deletions
diff --git a/Demo/comparisons/patterns b/Demo/comparisons/patterns index f4da846..f4da846 100755..100644 --- a/Demo/comparisons/patterns +++ b/Demo/comparisons/patterns diff --git a/Demo/curses/ncurses.py b/Demo/curses/ncurses.py index 0bdc1a9..0bdc1a9 100644..100755 --- a/Demo/curses/ncurses.py +++ b/Demo/curses/ncurses.py diff --git a/Demo/curses/rain.py b/Demo/curses/rain.py index 9d46e6e..9d46e6e 100644..100755 --- a/Demo/curses/rain.py +++ b/Demo/curses/rain.py diff --git a/Demo/curses/tclock.py b/Demo/curses/tclock.py index 8058d9a..8058d9a 100644..100755 --- a/Demo/curses/tclock.py +++ b/Demo/curses/tclock.py diff --git a/Demo/md5test/foo b/Demo/md5test/foo index f2ba8f8..f2ba8f8 100755..100644 --- a/Demo/md5test/foo +++ b/Demo/md5test/foo diff --git a/Demo/scripts/newslist.doc b/Demo/scripts/newslist.doc index 87fd9ba..87fd9ba 100755..100644 --- a/Demo/scripts/newslist.doc +++ b/Demo/scripts/newslist.doc diff --git a/Demo/tix/bitmaps/about.xpm b/Demo/tix/bitmaps/about.xpm index 33ffcc0..33ffcc0 100755..100644 --- a/Demo/tix/bitmaps/about.xpm +++ b/Demo/tix/bitmaps/about.xpm diff --git a/Demo/tix/bitmaps/bold.xbm b/Demo/tix/bitmaps/bold.xbm index ebff8d1..ebff8d1 100755..100644 --- a/Demo/tix/bitmaps/bold.xbm +++ b/Demo/tix/bitmaps/bold.xbm diff --git a/Demo/tix/bitmaps/capital.xbm b/Demo/tix/bitmaps/capital.xbm index fb4e070..fb4e070 100755..100644 --- a/Demo/tix/bitmaps/capital.xbm +++ b/Demo/tix/bitmaps/capital.xbm diff --git a/Demo/tix/bitmaps/centerj.xbm b/Demo/tix/bitmaps/centerj.xbm index 9d2c064..9d2c064 100755..100644 --- a/Demo/tix/bitmaps/centerj.xbm +++ b/Demo/tix/bitmaps/centerj.xbm diff --git a/Demo/tix/bitmaps/combobox.xbm b/Demo/tix/bitmaps/combobox.xbm index f5947f5..f5947f5 100755..100644 --- a/Demo/tix/bitmaps/combobox.xbm +++ b/Demo/tix/bitmaps/combobox.xbm diff --git a/Demo/tix/bitmaps/combobox.xpm b/Demo/tix/bitmaps/combobox.xpm index d0234ab..d0234ab 100755..100644 --- a/Demo/tix/bitmaps/combobox.xpm +++ b/Demo/tix/bitmaps/combobox.xpm diff --git a/Demo/tix/bitmaps/combobox.xpm.1 b/Demo/tix/bitmaps/combobox.xpm.1 index 63792a4..63792a4 100755..100644 --- a/Demo/tix/bitmaps/combobox.xpm.1 +++ b/Demo/tix/bitmaps/combobox.xpm.1 diff --git a/Demo/tix/bitmaps/drivea.xbm b/Demo/tix/bitmaps/drivea.xbm index 83c636c..83c636c 100755..100644 --- a/Demo/tix/bitmaps/drivea.xbm +++ b/Demo/tix/bitmaps/drivea.xbm diff --git a/Demo/tix/bitmaps/drivea.xpm b/Demo/tix/bitmaps/drivea.xpm index 4d274b9..4d274b9 100755..100644 --- a/Demo/tix/bitmaps/drivea.xpm +++ b/Demo/tix/bitmaps/drivea.xpm diff --git a/Demo/tix/bitmaps/exit.xpm b/Demo/tix/bitmaps/exit.xpm index 505a07b..505a07b 100755..100644 --- a/Demo/tix/bitmaps/exit.xpm +++ b/Demo/tix/bitmaps/exit.xpm diff --git a/Demo/tix/bitmaps/filebox.xbm b/Demo/tix/bitmaps/filebox.xbm index c8f7ac2..c8f7ac2 100755..100644 --- a/Demo/tix/bitmaps/filebox.xbm +++ b/Demo/tix/bitmaps/filebox.xbm diff --git a/Demo/tix/bitmaps/filebox.xpm b/Demo/tix/bitmaps/filebox.xpm index 7377ee6..7377ee6 100755..100644 --- a/Demo/tix/bitmaps/filebox.xpm +++ b/Demo/tix/bitmaps/filebox.xpm diff --git a/Demo/tix/bitmaps/italic.xbm b/Demo/tix/bitmaps/italic.xbm index 169c3cb..169c3cb 100755..100644 --- a/Demo/tix/bitmaps/italic.xbm +++ b/Demo/tix/bitmaps/italic.xbm diff --git a/Demo/tix/bitmaps/justify.xbm b/Demo/tix/bitmaps/justify.xbm index bba660a..bba660a 100755..100644 --- a/Demo/tix/bitmaps/justify.xbm +++ b/Demo/tix/bitmaps/justify.xbm diff --git a/Demo/tix/bitmaps/leftj.xbm b/Demo/tix/bitmaps/leftj.xbm index 5f8e006..5f8e006 100755..100644 --- a/Demo/tix/bitmaps/leftj.xbm +++ b/Demo/tix/bitmaps/leftj.xbm diff --git a/Demo/tix/bitmaps/netw.xbm b/Demo/tix/bitmaps/netw.xbm index a684d65..a684d65 100755..100644 --- a/Demo/tix/bitmaps/netw.xbm +++ b/Demo/tix/bitmaps/netw.xbm diff --git a/Demo/tix/bitmaps/netw.xpm b/Demo/tix/bitmaps/netw.xpm index fff6593..fff6593 100755..100644 --- a/Demo/tix/bitmaps/netw.xpm +++ b/Demo/tix/bitmaps/netw.xpm diff --git a/Demo/tix/bitmaps/optmenu.xpm b/Demo/tix/bitmaps/optmenu.xpm index 63bab81..63bab81 100755..100644 --- a/Demo/tix/bitmaps/optmenu.xpm +++ b/Demo/tix/bitmaps/optmenu.xpm diff --git a/Demo/tix/bitmaps/rightj.xbm b/Demo/tix/bitmaps/rightj.xbm index 1d438e0..1d438e0 100755..100644 --- a/Demo/tix/bitmaps/rightj.xbm +++ b/Demo/tix/bitmaps/rightj.xbm diff --git a/Demo/tix/bitmaps/select.xpm b/Demo/tix/bitmaps/select.xpm index 392e5a0..392e5a0 100755..100644 --- a/Demo/tix/bitmaps/select.xpm +++ b/Demo/tix/bitmaps/select.xpm diff --git a/Demo/tix/bitmaps/underline.xbm b/Demo/tix/bitmaps/underline.xbm index f07bb46..f07bb46 100755..100644 --- a/Demo/tix/bitmaps/underline.xbm +++ b/Demo/tix/bitmaps/underline.xbm diff --git a/Demo/tkinter/guido/canvasevents.py b/Demo/tkinter/guido/canvasevents.py index 74ed76f..74ed76f 100644..100755 --- a/Demo/tkinter/guido/canvasevents.py +++ b/Demo/tkinter/guido/canvasevents.py diff --git a/Demo/tkinter/guido/newmenubardemo.py b/Demo/tkinter/guido/newmenubardemo.py index 57bf13c..57bf13c 100644..100755 --- a/Demo/tkinter/guido/newmenubardemo.py +++ b/Demo/tkinter/guido/newmenubardemo.py diff --git a/Demo/tkinter/guido/sortvisu.py b/Demo/tkinter/guido/sortvisu.py index 9148b73..9148b73 100644..100755 --- a/Demo/tkinter/guido/sortvisu.py +++ b/Demo/tkinter/guido/sortvisu.py diff --git a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py index c9e6e65..c9e6e65 100644..100755 --- a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py +++ b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py diff --git a/Demo/turtle/tdemo_bytedesign.py b/Demo/turtle/tdemo_bytedesign.py index bed671d..bed671d 100644..100755 --- a/Demo/turtle/tdemo_bytedesign.py +++ b/Demo/turtle/tdemo_bytedesign.py diff --git a/Demo/turtle/tdemo_clock.py b/Demo/turtle/tdemo_clock.py index b6280bb..b6280bb 100644..100755 --- a/Demo/turtle/tdemo_clock.py +++ b/Demo/turtle/tdemo_clock.py diff --git a/Demo/turtle/tdemo_fractalcurves.py b/Demo/turtle/tdemo_fractalcurves.py index 2ac8ecd..2ac8ecd 100644..100755 --- a/Demo/turtle/tdemo_fractalcurves.py +++ b/Demo/turtle/tdemo_fractalcurves.py diff --git a/Demo/turtle/tdemo_lindenmayer_indian.py b/Demo/turtle/tdemo_lindenmayer_indian.py index 92c8cff..92c8cff 100644..100755 --- a/Demo/turtle/tdemo_lindenmayer_indian.py +++ b/Demo/turtle/tdemo_lindenmayer_indian.py diff --git a/Demo/turtle/tdemo_minimal_hanoi.py b/Demo/turtle/tdemo_minimal_hanoi.py index 8a1caa8..8a1caa8 100644..100755 --- a/Demo/turtle/tdemo_minimal_hanoi.py +++ b/Demo/turtle/tdemo_minimal_hanoi.py diff --git a/Demo/turtle/tdemo_paint.py b/Demo/turtle/tdemo_paint.py index e1d6303..e1d6303 100644..100755 --- a/Demo/turtle/tdemo_paint.py +++ b/Demo/turtle/tdemo_paint.py diff --git a/Demo/turtle/tdemo_peace.py b/Demo/turtle/tdemo_peace.py index 13044c9..13044c9 100644..100755 --- a/Demo/turtle/tdemo_peace.py +++ b/Demo/turtle/tdemo_peace.py diff --git a/Demo/turtle/tdemo_penrose.py b/Demo/turtle/tdemo_penrose.py index f5824d7..f5824d7 100644..100755 --- a/Demo/turtle/tdemo_penrose.py +++ b/Demo/turtle/tdemo_penrose.py diff --git a/Demo/turtle/tdemo_planet_and_moon.py b/Demo/turtle/tdemo_planet_and_moon.py index 223d87b..223d87b 100644..100755 --- a/Demo/turtle/tdemo_planet_and_moon.py +++ b/Demo/turtle/tdemo_planet_and_moon.py diff --git a/Demo/turtle/tdemo_tree.py b/Demo/turtle/tdemo_tree.py index 6fc8735..6fc8735 100644..100755 --- a/Demo/turtle/tdemo_tree.py +++ b/Demo/turtle/tdemo_tree.py diff --git a/Demo/turtle/tdemo_yinyang.py b/Demo/turtle/tdemo_yinyang.py index 04dd758..04dd758 100644..100755 --- a/Demo/turtle/tdemo_yinyang.py +++ b/Demo/turtle/tdemo_yinyang.py diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py index 30b5e5b..30b5e5b 100644..100755 --- a/Demo/turtle/turtleDemo.py +++ b/Demo/turtle/turtleDemo.py diff --git a/Demo/turtle/turtledemo_two_canvases.py b/Demo/turtle/turtledemo_two_canvases.py index 5a9831d..5a9831d 100644..100755 --- a/Demo/turtle/turtledemo_two_canvases.py +++ b/Demo/turtle/turtledemo_two_canvases.py diff --git a/Lib/Cookie.py b/Lib/Cookie.py index db32980..452d4e3 100644 --- a/Lib/Cookie.py +++ b/Lib/Cookie.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python -# - #### # Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu> # diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py index 85deb13..7d0daa2 100644 --- a/Lib/bsddb/dbshelve.py +++ b/Lib/bsddb/dbshelve.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python #------------------------------------------------------------------------ # Copyright (c) 1997-2001 by Total Control Software # All Rights Reserved diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index bb31381..250c492 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# #----------------------------------------------------------------------- # A test suite for the table interface built on bsddb.db #----------------------------------------------------------------------- diff --git a/Lib/difflib.py b/Lib/difflib.py index f94b3ac..5dac1d6 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python - """ Module difflib -- helpers for computing deltas between objects. diff --git a/Lib/encodings/rot_13.py b/Lib/encodings/rot_13.py index 52b6431..52b6431 100644..100755 --- a/Lib/encodings/rot_13.py +++ b/Lib/encodings/rot_13.py diff --git a/Lib/lib2to3/tests/data/different_encoding.py b/Lib/lib2to3/tests/data/different_encoding.py index 9f32bd0..9f32bd0 100644..100755 --- a/Lib/lib2to3/tests/data/different_encoding.py +++ b/Lib/lib2to3/tests/data/different_encoding.py diff --git a/Lib/lib2to3/tests/data/false_encoding.py b/Lib/lib2to3/tests/data/false_encoding.py index f4e59e7..f4e59e7 100644..100755 --- a/Lib/lib2to3/tests/data/false_encoding.py +++ b/Lib/lib2to3/tests/data/false_encoding.py diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 4cdd7d4..ba49753 100644 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -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: diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 44ecd24..e73ac90 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: iso-8859-1 -*- #------------------------------------------------------------------- # tarfile.py diff --git a/Lib/test/crashers/recursive_call.py b/Lib/test/crashers/recursive_call.py index 31c8963..31c8963 100644..100755 --- a/Lib/test/crashers/recursive_call.py +++ b/Lib/test/crashers/recursive_call.py diff --git a/Lib/test/curses_tests.py b/Lib/test/curses_tests.py index 7dedbbc..7dedbbc 100644..100755 --- a/Lib/test/curses_tests.py +++ b/Lib/test/curses_tests.py diff --git a/Lib/test/test___future__.py b/Lib/test/test___future__.py index 1d8f8e6..b573382 100644 --- a/Lib/test/test___future__.py +++ b/Lib/test/test___future__.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python import unittest from test import test_support import __future__ diff --git a/Lib/test/test_al.py b/Lib/test/test_al.py index 688576d..a00abfc 100755..100644 --- a/Lib/test/test_al.py +++ b/Lib/test/test_al.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Whimpy test script for the al module Roger E. Masse """ diff --git a/Lib/test/test_anydbm.py b/Lib/test/test_anydbm.py index a01dd0b..2412061 100644 --- a/Lib/test/test_anydbm.py +++ b/Lib/test/test_anydbm.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for the anydbm module based on testdumbdbm.py """ diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 74594e4..b933cbf 100755..100644 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test the arraymodule. Roger E. Masse """ diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 2f89703..1f6a0aa 100755..100644 --- a/Lib/test/test_binhex.py +++ b/Lib/test/test_binhex.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for the binhex C module Uses the mechanism of the python binhex module diff --git a/Lib/test/test_bsddb.py b/Lib/test/test_bsddb.py index 3a10fab..3ff020a 100755..100644 --- a/Lib/test/test_bsddb.py +++ b/Lib/test/test_bsddb.py @@ -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 """ diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 99a687d..e2c222a 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python from test import test_support from test.test_support import TESTFN, _4G, bigmemtest, import_module, findfile diff --git a/Lib/test/test_cd.py b/Lib/test/test_cd.py index edaa82b..18ca586 100755..100644 --- a/Lib/test/test_cd.py +++ b/Lib/test/test_cd.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Whimpy test script for the cd module Roger E. Masse """ diff --git a/Lib/test/test_cl.py b/Lib/test/test_cl.py index 50102e9..9582282 100755..100644 --- a/Lib/test/test_cl.py +++ b/Lib/test/test_cl.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Whimpy test script for the cl module Roger E. Masse """ diff --git a/Lib/test/test_cmd.py b/Lib/test/test_cmd.py index ed9258b..2cb2c88 100644 --- a/Lib/test/test_cmd.py +++ b/Lib/test/test_cmd.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ Test script for the 'cmd' module Original by Michael Schneider diff --git a/Lib/test/test_codecencodings_cn.py b/Lib/test/test_codecencodings_cn.py index 215e8de..cd102fd 100644 --- a/Lib/test/test_codecencodings_cn.py +++ b/Lib/test/test_codecencodings_cn.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecencodings_cn.py # Codec encoding tests for PRC encodings. diff --git a/Lib/test/test_codecencodings_hk.py b/Lib/test/test_codecencodings_hk.py index b1c2606..391c316 100644 --- a/Lib/test/test_codecencodings_hk.py +++ b/Lib/test/test_codecencodings_hk.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecencodings_hk.py # Codec encoding tests for HongKong encodings. diff --git a/Lib/test/test_codecencodings_iso2022.py b/Lib/test/test_codecencodings_iso2022.py index 343308c..9f23628 100644 --- a/Lib/test/test_codecencodings_iso2022.py +++ b/Lib/test/test_codecencodings_iso2022.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # Codec encoding tests for ISO 2022 encodings. from test import test_support diff --git a/Lib/test/test_codecencodings_jp.py b/Lib/test/test_codecencodings_jp.py index 5f81f41..f3cf923 100644 --- a/Lib/test/test_codecencodings_jp.py +++ b/Lib/test/test_codecencodings_jp.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecencodings_jp.py # Codec encoding tests for Japanese encodings. diff --git a/Lib/test/test_codecencodings_kr.py b/Lib/test/test_codecencodings_kr.py index 8c866a9..45ea62b 100644 --- a/Lib/test/test_codecencodings_kr.py +++ b/Lib/test/test_codecencodings_kr.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecencodings_kr.py # Codec encoding tests for ROK encodings. diff --git a/Lib/test/test_codecencodings_tw.py b/Lib/test/test_codecencodings_tw.py index 983d06f..c62d321 100644 --- a/Lib/test/test_codecencodings_tw.py +++ b/Lib/test/test_codecencodings_tw.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecencodings_tw.py # Codec encoding tests for ROC encodings. diff --git a/Lib/test/test_codecmaps_cn.py b/Lib/test/test_codecmaps_cn.py index 344fc56..9f42858 100644 --- a/Lib/test/test_codecmaps_cn.py +++ b/Lib/test/test_codecmaps_cn.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecmaps_cn.py # Codec mapping tests for PRC encodings diff --git a/Lib/test/test_codecmaps_hk.py b/Lib/test/test_codecmaps_hk.py index 362ab7f..7ba191b 100644 --- a/Lib/test/test_codecmaps_hk.py +++ b/Lib/test/test_codecmaps_hk.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecmaps_hk.py # Codec mapping tests for HongKong encodings diff --git a/Lib/test/test_codecmaps_jp.py b/Lib/test/test_codecmaps_jp.py index 5466a98..0bf43b6 100644 --- a/Lib/test/test_codecmaps_jp.py +++ b/Lib/test/test_codecmaps_jp.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecmaps_jp.py # Codec mapping tests for Japanese encodings diff --git a/Lib/test/test_codecmaps_kr.py b/Lib/test/test_codecmaps_kr.py index 39c612e..b2513ea 100644 --- a/Lib/test/test_codecmaps_kr.py +++ b/Lib/test/test_codecmaps_kr.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecmaps_kr.py # Codec mapping tests for ROK encodings diff --git a/Lib/test/test_codecmaps_tw.py b/Lib/test/test_codecmaps_tw.py index 143ae23..ff6a356 100644 --- a/Lib/test/test_codecmaps_tw.py +++ b/Lib/test/test_codecmaps_tw.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # # test_codecmaps_tw.py # Codec mapping tests for ROC encodings diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py index 6069a77..da9730f 100755..100644 --- a/Lib/test/test_dl.py +++ b/Lib/test/test_dl.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test dlmodule.c Roger E. Masse revised strategy by Barry Warsaw """ diff --git a/Lib/test/test_dumbdbm.py b/Lib/test/test_dumbdbm.py index abdfbc0..6f5324f 100644 --- a/Lib/test/test_dumbdbm.py +++ b/Lib/test/test_dumbdbm.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for the dumbdbm module Original by Roger E. Masse """ diff --git a/Lib/test/test_eof.py b/Lib/test/test_eof.py index 763917f..7de4686 100644 --- a/Lib/test/test_eof.py +++ b/Lib/test/test_eof.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """test script for a few new invalid token catches""" import unittest diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py index bb8918f..7a37d3a 100755..100644 --- a/Lib/test/test_errno.py +++ b/Lib/test/test_errno.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test the errno module Roger E. Masse """ diff --git a/Lib/test/test_gl.py b/Lib/test/test_gl.py index c9264ee..92e1e8d 100755..100644 --- a/Lib/test/test_gl.py +++ b/Lib/test/test_gl.py @@ -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 diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index a82c56e..aa56ed3 100644 --- a/Lib/test/test_gzip.py +++ b/Lib/test/test_gzip.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for the gzip module. """ diff --git a/Lib/test/test_imageop.py b/Lib/test/test_imageop.py index 56320fb..31edbd1 100755..100644 --- a/Lib/test/test_imageop.py +++ b/Lib/test/test_imageop.py @@ -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 diff --git a/Lib/test/test_imgfile.py b/Lib/test/test_imgfile.py index 39e8917..67a2315 100755..100644 --- a/Lib/test/test_imgfile.py +++ b/Lib/test/test_imgfile.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python - """Simple test script for imgfile.c Roger E. Masse """ diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 0c10580..677f013 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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 diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index f7cd195..59fa3eb 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from test import test_support diff --git a/Lib/test/test_multibytecodec.py b/Lib/test/test_multibytecodec.py index 2afe9de..8aca381 100644 --- a/Lib/test/test_multibytecodec.py +++ b/Lib/test/test_multibytecodec.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # test_multibytecodec.py # Unit test for multibytecodec itself # diff --git a/Lib/test/test_multibytecodec_support.py b/Lib/test/test_multibytecodec_support.py index 3955663..c5dcfa3 100644 --- a/Lib/test/test_multibytecodec_support.py +++ b/Lib/test/test_multibytecodec_support.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # test_multibytecodec_support.py # Common Unittest Routines for CJK codecs # diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 956c036..42f6dd9 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # # Unit tests for the multiprocessing package # diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index 92b5e92..82d4621 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Basic tests for os.popen() Particularly useful for platforms that fake popen. diff --git a/Lib/test/test_popen2.py b/Lib/test/test_popen2.py index ea41075..4a745e2 100644 --- a/Lib/test/test_popen2.py +++ b/Lib/test/test_popen2.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for popen2.py""" import warnings diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py index 911bdec..ba447ee 100644 --- a/Lib/test/test_random.py +++ b/Lib/test/test_random.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest import random import time diff --git a/Lib/test/test_sets.py b/Lib/test/test_sets.py index 0754ed7..319bdcb 100644 --- a/Lib/test/test_sets.py +++ b/Lib/test/test_sets.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest, operator, copy, pickle, random from test import test_support diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py index 2dc39eb..00ce9dd 100644 --- a/Lib/test/test_smtpnet.py +++ b/Lib/test/test_smtpnet.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest from test import test_support import smtplib diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 0bce1b4..549e79c 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest from test import test_support diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index ec21f07..d02b439 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest import sys import os diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index 0802f69..2e87f11 100644 --- a/Lib/test/test_urllib2_localnet.py +++ b/Lib/test/test_urllib2_localnet.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import urlparse import urllib2 import BaseHTTPServer diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 4d73ac0..d22b59e 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest from test import test_support from test.test_urllib2 import sanepathname2url diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 4ce7a9b..cc65d99 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import unittest from test import test_support diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 72ebfaa..13dd297 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python - from test import test_support import unittest import urlparse diff --git a/Lib/test/test_userstring.py b/Lib/test/test_userstring.py index 2625985..51d8e8b 100755..100644 --- a/Lib/test/test_userstring.py +++ b/Lib/test/test_userstring.py @@ -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. diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py index 427e323..91ab7f9 100644 --- a/Lib/test/test_whichdb.py +++ b/Lib/test/test_whichdb.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Test script for the whichdb module based on test_anydbm.py """ diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 49645183..e7dd001 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """Unit tests for the with statement specified in PEP 343.""" diff --git a/Lib/timeit.py b/Lib/timeit.py index da9e819..da9e819 100644..100755 --- a/Lib/timeit.py +++ b/Lib/timeit.py diff --git a/Lib/token.py b/Lib/token.py index 34abf62..45825b4 100755..100644 --- a/Lib/token.py +++ b/Lib/token.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python - """Token constants (from "token.h").""" # This file is automatically generated; please don't muck it up! diff --git a/Lib/trace.py b/Lib/trace.py index 38a13e2..38a13e2 100644..100755 --- a/Lib/trace.py +++ b/Lib/trace.py diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index d3272a0..d3272a0 100644..100755 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py diff --git a/Mac/Modules/carbonevt/_CarbonEvtmodule.c b/Mac/Modules/carbonevt/_CarbonEvtmodule.c index 623a3e5..623a3e5 100755..100644 --- a/Mac/Modules/carbonevt/_CarbonEvtmodule.c +++ b/Mac/Modules/carbonevt/_CarbonEvtmodule.c diff --git a/Mac/Modules/cg/CFMLateImport.c b/Mac/Modules/cg/CFMLateImport.c index 955acfb..955acfb 100755..100644 --- a/Mac/Modules/cg/CFMLateImport.c +++ b/Mac/Modules/cg/CFMLateImport.c diff --git a/Mac/Modules/cg/CFMLateImport.h b/Mac/Modules/cg/CFMLateImport.h index 0878960..0878960 100755..100644 --- a/Mac/Modules/cg/CFMLateImport.h +++ b/Mac/Modules/cg/CFMLateImport.h diff --git a/Mac/Modules/cg/CGStubLib.exp b/Mac/Modules/cg/CGStubLib.exp index b93dc7c..b93dc7c 100755..100644 --- a/Mac/Modules/cg/CGStubLib.exp +++ b/Mac/Modules/cg/CGStubLib.exp diff --git a/Mac/Modules/cg/CGStubLib.readme b/Mac/Modules/cg/CGStubLib.readme index d2c5fa8..d2c5fa8 100755..100644 --- a/Mac/Modules/cg/CGStubLib.readme +++ b/Mac/Modules/cg/CGStubLib.readme diff --git a/Mac/Modules/cg/_CGmodule.c b/Mac/Modules/cg/_CGmodule.c index 7169101..7169101 100755..100644 --- a/Mac/Modules/cg/_CGmodule.c +++ b/Mac/Modules/cg/_CGmodule.c diff --git a/Mac/PythonLauncher/FileSettings.h b/Mac/PythonLauncher/FileSettings.h index 7b74a9b..7b74a9b 100755..100644 --- a/Mac/PythonLauncher/FileSettings.h +++ b/Mac/PythonLauncher/FileSettings.h diff --git a/Mac/PythonLauncher/FileSettings.m b/Mac/PythonLauncher/FileSettings.m index 3438870..3438870 100755..100644 --- a/Mac/PythonLauncher/FileSettings.m +++ b/Mac/PythonLauncher/FileSettings.m diff --git a/Mac/PythonLauncher/MyDocument.h b/Mac/PythonLauncher/MyDocument.h index 00c1bae..00c1bae 100755..100644 --- a/Mac/PythonLauncher/MyDocument.h +++ b/Mac/PythonLauncher/MyDocument.h diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m index 90c5db9..90c5db9 100755..100644 --- a/Mac/PythonLauncher/MyDocument.m +++ b/Mac/PythonLauncher/MyDocument.m diff --git a/Mac/PythonLauncher/main.m b/Mac/PythonLauncher/main.m index 04b4d73..04b4d73 100755..100644 --- a/Mac/PythonLauncher/main.m +++ b/Mac/PythonLauncher/main.m diff --git a/Mac/Tools/fixapplepython23.py b/Mac/Tools/fixapplepython23.py index 03c799b..03c799b 100644..100755 --- a/Mac/Tools/fixapplepython23.py +++ b/Mac/Tools/fixapplepython23.py diff --git a/Mac/scripts/buildpkg.py b/Mac/scripts/buildpkg.py index ed5c88f..ed5c88f 100644..100755 --- a/Mac/scripts/buildpkg.py +++ b/Mac/scripts/buildpkg.py diff --git a/Mac/scripts/mkestrres-macerrors.h b/Mac/scripts/mkestrres-macerrors.h index 26c583d..26c583d 100755..100644 --- a/Mac/scripts/mkestrres-macerrors.h +++ b/Mac/scripts/mkestrres-macerrors.h diff --git a/Mac/scripts/zappycfiles.py b/Mac/scripts/zappycfiles.py index 6d35748..6d35748 100644..100755 --- a/Mac/scripts/zappycfiles.py +++ b/Mac/scripts/zappycfiles.py @@ -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 ---- diff --git a/Modules/_ctypes/libffi/generate-ios-source-and-headers.py b/Modules/_ctypes/libffi/generate-ios-source-and-headers.py index c2bca73..c2bca73 100644..100755 --- a/Modules/_ctypes/libffi/generate-ios-source-and-headers.py +++ b/Modules/_ctypes/libffi/generate-ios-source-and-headers.py diff --git a/Modules/_ctypes/libffi/generate-osx-source-and-headers.py b/Modules/_ctypes/libffi/generate-osx-source-and-headers.py index 64313c1..64313c1 100644..100755 --- a/Modules/_ctypes/libffi/generate-osx-source-and-headers.py +++ b/Modules/_ctypes/libffi/generate-osx-source-and-headers.py diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 057900d..057900d 100755..100644 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index bbb22d0..bbb22d0 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 d75892b..d75892b 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 309f3db..309f3db 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 64095b3..64095b3 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 db1210d..db1210d 100644..100755 --- a/Tools/pybench/systimes.py +++ b/Tools/pybench/systimes.py diff --git a/Tools/scripts/svneol.py b/Tools/scripts/svneol.py index 9357c7e..9357c7e 100644..100755 --- a/Tools/scripts/svneol.py +++ b/Tools/scripts/svneol.py diff --git a/Tools/ssl/get-remote-certificate.py b/Tools/ssl/get-remote-certificate.py index b63428a..b63428a 100644..100755 --- a/Tools/ssl/get-remote-certificate.py +++ b/Tools/ssl/get-remote-certificate.py diff --git a/Tools/unicode/comparecodecs.py b/Tools/unicode/comparecodecs.py index cd417a4..cd417a4 100644..100755 --- a/Tools/unicode/comparecodecs.py +++ b/Tools/unicode/comparecodecs.py |