1 --- Python-3.0.1/Lib/distutils/tests/test_build_scripts.py.wiget 2004-08-26 07:44:02.000000000 +0200
2 +++ Python-3.0.1/Lib/distutils/tests/test_build_scripts.py 2009-03-14 18:12:32.000000000 +0100
3 @@ -58,7 +58,7 @@ class BuildScriptsTestCase(support.Tempd
5 expected.append("script2.py")
6 self.write_script(dir, "script2.py",
7 - ("#!/usr/bin/python\n"
8 + ("#!/usr/bin/python3\n"
9 "# bogus script w/ Python sh-bang\n"
11 expected.append("shell.sh")
12 --- Python-3.0.1/Lib/distutils/tests/test_install_scripts.py.wiget 2004-08-03 20:53:07.000000000 +0200
13 +++ Python-3.0.1/Lib/distutils/tests/test_install_scripts.py 2009-03-14 18:12:32.000000000 +0100
14 @@ -48,7 +48,7 @@ class InstallScriptsTestCase(support.Tem
15 write_script("script1.py", ("#! /usr/bin/env python2.3\n"
16 "# bogus script w/ Python sh-bang\n"
18 - write_script("script2.py", ("#!/usr/bin/python\n"
19 + write_script("script2.py", ("#!/usr/bin/python3\n"
20 "# bogus script w/ Python sh-bang\n"
22 write_script("shell.sh", ("#!/bin/sh\n"
23 --- Python-3.0.1/Lib/cgi.py.wiget 2008-12-04 21:11:57.000000000 +0100
24 +++ Python-3.0.1/Lib/cgi.py 2009-03-14 18:12:32.000000000 +0100
26 -#! /usr/local/bin/python
29 -# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
30 +# NOTE: the above "/usr/bin/python3" is NOT a mistake. It is
31 # intentionally NOT "/usr/bin/env python". On many systems
32 # (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
33 # scripts, and /usr/local/bin is the default directory where Python is
34 --- Python-3.0.1/Tools/pybench/pybench.py.wiget 2009-02-07 18:28:46.000000000 +0100
35 +++ Python-3.0.1/Tools/pybench/pybench.py 2009-03-14 18:12:32.000000000 +0100
37 -#!/usr/local/bin/python -O
38 +#!/usr/bin/python3 -O
40 """ A Python Benchmark Suite
42 --- Python-3.0.1/Tools/scripts/fixps.py.wiget 2007-08-03 19:06:41.000000000 +0200
43 +++ Python-3.0.1/Tools/scripts/fixps.py 2009-03-14 18:12:32.000000000 +0100
44 @@ -15,13 +15,13 @@ def main():
45 print(filename, ': can\'t open :', msg)
48 - if not re.match('^#! */usr/local/bin/python', line):
49 - print(filename, ': not a /usr/local/bin/python script')
50 + if not re.match('^#! */usr/bin/python3', line):
51 + print(filename, ': not a /usr/bin/python3 script')
56 - line = re.sub('/usr/local/bin/python',
57 + line = re.sub('/usr/bin/python3',
58 '/usr/bin/env python', line)
59 print(filename, ':', repr(line))
60 f = open(filename, "w")