1 diff -u Python-2.6.4/Lib/platform.py.orig Python-2.6.4/Lib/platform.py |
|
2 --- Python-2.6.4/Lib/platform.py.orig Mon Feb 21 10:46:30 2011 |
|
3 +++ Python-2.6.4/Lib/platform.py Mon Feb 21 10:46:30 2011 |
|
4 @@ -1,4 +1,4 @@ |
|
5 -#!/usr/bin/env python |
|
6 +#!/usr/bin/python2.6 |
|
7 |
|
8 """ This module tries to retrieve as much platform-identifying data as |
|
9 possible. It makes this information available via function APIs. |
|
10 diff -u Python-2.6.4/Lib/profile.py.orig Python-2.6.4/Lib/profile.py |
|
11 --- Python-2.6.4/Lib/profile.py.orig Mon Feb 21 10:46:25 2011 |
|
12 +++ Python-2.6.4/Lib/profile.py Mon Feb 21 10:46:25 2011 |
|
13 @@ -1,4 +1,4 @@ |
|
14 -#! /usr/bin/env python |
|
15 +#!/usr/bin/python2.6 |
|
16 # |
|
17 # Class for profiling python code. rev 1.0 6/2/94 |
|
18 # |
|
19 diff -u Python-2.6.4/Lib/trace.py.orig Python-2.6.4/Lib/trace.py |
|
20 --- Python-2.6.4/Lib/trace.py.orig Mon Feb 21 10:46:29 2011 |
|
21 +++ Python-2.6.4/Lib/trace.py Mon Feb 21 10:46:29 2011 |
|
22 @@ -1,4 +1,4 @@ |
|
23 -#!/usr/bin/env python |
|
24 +#!/usr/bin/python2.6 |
|
25 |
|
26 # portions copyright 2001, Autonomous Zones Industries, Inc., all rights... |
|
27 # err... reserved and offered to the public under the terms of the |
|
28 diff -u Python-2.6.4/Lib/cProfile.py.orig Python-2.6.4/Lib/cProfile.py |
|
29 --- Python-2.6.4/Lib/cProfile.py.orig Mon Feb 21 10:46:29 2011 |
|
30 +++ Python-2.6.4/Lib/cProfile.py Mon Feb 21 10:46:29 2011 |
|
31 @@ -1,4 +1,4 @@ |
|
32 -#! /usr/bin/env python |
|
33 +#!/usr/bin/python2.6 |
|
34 |
|
35 """Python interface for the 'lsprof' profiler. |
|
36 Compatible with the 'profile' module. |
|
37 diff -u Python-2.6.4/Lib/idlelib/PyShell.py.orig Python-2.6.4/Lib/idlelib/PyShell.py |
|
38 --- Python-2.6.4/Lib/idlelib/PyShell.py.orig Mon Feb 21 10:46:23 2011 |
|
39 +++ Python-2.6.4/Lib/idlelib/PyShell.py Mon Feb 21 10:46:23 2011 |
|
40 @@ -1,4 +1,4 @@ |
|
41 -#! /usr/bin/env python |
|
42 +#!/usr/bin/python2.6 |
|
43 |
|
44 import os |
|
45 import os.path |
|
46 diff -u Python-2.6.4/Lib/UserString.py.orig Python-2.6.4/Lib/UserString.py |
|
47 --- Python-2.6.4/Lib/UserString.py.orig Mon Feb 21 10:46:27 2011 |
|
48 +++ Python-2.6.4/Lib/UserString.py Mon Feb 21 10:46:27 2011 |
|
49 @@ -1,4 +1,4 @@ |
|
50 -#!/usr/bin/env python |
|
51 +#!/usr/bin/python2.6 |
|
52 ## vim:ts=4:et:nowrap |
|
53 """A user-defined wrapper around string objects |
|
54 |
|
55 diff -u Python-2.6.4/Lib/lib2to3/tests/pytree_idempotency.py.orig Python-2.6.4/Lib/lib2to3/tests/pytree_idempotency.py |
|
56 --- Python-2.6.4/Lib/lib2to3/tests/pytree_idempotency.py.orig Mon Feb 21 10:46:24 2011 |
|
57 +++ Python-2.6.4/Lib/lib2to3/tests/pytree_idempotency.py Mon Feb 21 10:46:24 2011 |
|
58 @@ -1,4 +1,4 @@ |
|
59 -#!/usr/bin/env python |
|
60 +#!/usr/bin/python2.6 |
|
61 # Copyright 2006 Google, Inc. All Rights Reserved. |
|
62 # Licensed to PSF under a Contributor Agreement. |
|
63 |
|
64 diff -u Python-2.6.4/Lib/lib2to3/tests/test_all_fixers.py.orig Python-2.6.4/Lib/lib2to3/tests/test_all_fixers.py |
|
65 --- Python-2.6.4/Lib/lib2to3/tests/test_all_fixers.py.orig Mon Feb 21 10:46:24 2011 |
|
66 +++ Python-2.6.4/Lib/lib2to3/tests/test_all_fixers.py Mon Feb 21 10:46:24 2011 |
|
67 @@ -1,3 +1,4 @@ |
|
68 +#!/usr/bin/python2.6 |
|
69 """Tests that run all fixer modules over an input stream. |
|
70 |
|
71 This has been broken out into its own test module because of its |
|
72 diff -u Python-2.6.4/Lib/lib2to3/tests/test_util.py.orig Python-2.6.4/Lib/lib2to3/tests/test_util.py |
|
73 --- Python-2.6.4/Lib/lib2to3/tests/test_util.py.orig Mon Feb 21 10:46:24 2011 |
|
74 +++ Python-2.6.4/Lib/lib2to3/tests/test_util.py Mon Feb 21 10:46:24 2011 |
|
75 @@ -1,3 +1,4 @@ |
|
76 +#!/usr/bin/python2.6 |
|
77 """ Test suite for the code in fixer_util """ |
|
78 |
|
79 # Testing imports |
|
80 diff -u Python-2.6.4/Lib/lib2to3/tests/test_parser.py.orig Python-2.6.4/Lib/lib2to3/tests/test_parser.py |
|
81 --- Python-2.6.4/Lib/lib2to3/tests/test_parser.py.orig Mon Feb 21 10:46:24 2011 |
|
82 +++ Python-2.6.4/Lib/lib2to3/tests/test_parser.py Mon Feb 21 10:46:24 2011 |
|
83 @@ -1,3 +1,4 @@ |
|
84 +#!/usr/bin/python2.6 |
|
85 """Test suite for 2to3's parser and grammar files. |
|
86 |
|
87 This is the place to add tests for changes to 2to3's grammar, such as those |
|
88 diff -u Python-2.6.4/Lib/lib2to3/tests/test_pytree.py.orig Python-2.6.4/Lib/lib2to3/tests/test_pytree.py |
|
89 --- Python-2.6.4/Lib/lib2to3/tests/test_pytree.py.orig Mon Feb 21 10:46:24 2011 |
|
90 +++ Python-2.6.4/Lib/lib2to3/tests/test_pytree.py Mon Feb 21 10:46:24 2011 |
|
91 @@ -1,3 +1,4 @@ |
|
92 +#!/usr/bin/python2.6 |
|
93 # Copyright 2006 Google, Inc. All Rights Reserved. |
|
94 # Licensed to PSF under a Contributor Agreement. |
|
95 |
|
96 diff -u Python-2.6.4/Lib/lib2to3/tests/test_fixers.py.orig Python-2.6.4/Lib/lib2to3/tests/test_fixers.py |
|
97 --- Python-2.6.4/Lib/lib2to3/tests/test_fixers.py.orig Mon Feb 21 10:46:24 2011 |
|
98 +++ Python-2.6.4/Lib/lib2to3/tests/test_fixers.py Mon Feb 21 10:46:24 2011 |
|
99 @@ -1,3 +1,4 @@ |
|
100 +#!/usr/bin/python2.6 |
|
101 """ Test suite for the fixer modules """ |
|
102 # Author: Collin Winter |
|
103 |
|
104 diff -u Python-2.6.4/Lib/lib2to3/refactor.py.orig Python-2.6.4/Lib/lib2to3/refactor.py |
|
105 --- Python-2.6.4/Lib/lib2to3/refactor.py.orig Mon Feb 21 10:46:24 2011 |
|
106 +++ Python-2.6.4/Lib/lib2to3/refactor.py Mon Feb 21 10:46:24 2011 |
|
107 @@ -1,3 +1,4 @@ |
|
108 +#!/usr/bin/python2.6 |
|
109 # Copyright 2006 Google, Inc. All Rights Reserved. |
|
110 # Licensed to PSF under a Contributor Agreement. |
|
111 |
|
112 diff -u Python-2.6.4/Lib/lib2to3/pgen2/token.py.orig Python-2.6.4/Lib/lib2to3/pgen2/token.py |
|
113 --- Python-2.6.4/Lib/lib2to3/pgen2/token.py.orig Mon Feb 21 10:46:25 2011 |
|
114 +++ Python-2.6.4/Lib/lib2to3/pgen2/token.py Mon Feb 21 10:46:25 2011 |
|
115 @@ -1,4 +1,4 @@ |
|
116 -#! /usr/bin/env python |
|
117 +#!/usr/bin/python2.6 |
|
118 |
|
119 """Token constants (from "token.h").""" |
|
120 |
|
121 diff -u Python-2.6.4/Lib/cgi.py.orig Python-2.6.4/Lib/cgi.py |
|
122 --- Python-2.6.4/Lib/cgi.py.orig Mon Feb 21 10:46:24 2011 |
|
123 +++ Python-2.6.4/Lib/cgi.py Mon Feb 21 10:46:24 2011 |
|
124 @@ -1,4 +1,4 @@ |
|
125 -#! /usr/local/bin/python |
|
126 +#!/usr/bin/python2.6 |
|
127 |
|
128 # NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is |
|
129 # intentionally NOT "/usr/bin/env python". On many systems |
|
130 diff -u Python-2.6.4/Lib/base64.py.orig Python-2.6.4/Lib/base64.py |
|
131 --- Python-2.6.4/Lib/base64.py.orig Mon Feb 21 10:46:36 2011 |
|
132 +++ Python-2.6.4/Lib/base64.py Mon Feb 21 10:46:36 2011 |
|
133 @@ -1,4 +1,4 @@ |
|
134 -#! /usr/bin/env python |
|
135 +#!/usr/bin/python2.6 |
|
136 |
|
137 """RFC 3548: Base16, Base32, Base64 Data Encodings""" |
|
138 |
|
139 diff -u Python-2.6.4/Lib/encodings/rot_13.py.orig Python-2.6.4/Lib/encodings/rot_13.py |
|
140 --- Python-2.6.4/Lib/encodings/rot_13.py.orig Mon Feb 21 10:46:26 2011 |
|
141 +++ Python-2.6.4/Lib/encodings/rot_13.py Mon Feb 21 10:46:26 2011 |
|
142 @@ -1,4 +1,4 @@ |
|
143 -#!/usr/bin/env python |
|
144 +#!/usr/bin/python2.6 |
|
145 """ Python Character Mapping Codec for ROT13. |
|
146 |
|
147 See http://ucsub.colorado.edu/~kominek/rot13/ for details. |
|
148 diff -u Python-2.6.4/Lib/tabnanny.py.orig Python-2.6.4/Lib/tabnanny.py |
|
149 --- Python-2.6.4/Lib/tabnanny.py.orig Mon Feb 21 10:46:27 2011 |
|
150 +++ Python-2.6.4/Lib/tabnanny.py Mon Feb 21 10:46:27 2011 |
|
151 @@ -1,4 +1,4 @@ |
|
152 -#! /usr/bin/env python |
|
153 +#!/usr/bin/python2.6 |
|
154 |
|
155 """The Tab Nanny despises ambiguous indentation. She knows no mercy. |
|
156 |
|
157 diff -u Python-2.6.4/Lib/timeit.py.orig Python-2.6.4/Lib/timeit.py |
|
158 --- Python-2.6.4/Lib/timeit.py.orig Mon Feb 21 10:46:23 2011 |
|
159 +++ Python-2.6.4/Lib/timeit.py Mon Feb 21 10:46:23 2011 |
|
160 @@ -1,4 +1,4 @@ |
|
161 -#! /usr/bin/env python |
|
162 +#!/usr/bin/python2.6 |
|
163 |
|
164 """Tool for measuring execution time of small code snippets. |
|
165 |
|
166 diff -u Python-2.6.4/Lib/pydoc.py.orig Python-2.6.4/Lib/pydoc.py |
|
167 --- Python-2.6.4/Lib/pydoc.py.orig Mon Feb 21 10:46:28 2011 |
|
168 +++ Python-2.6.4/Lib/pydoc.py Mon Feb 21 10:46:28 2011 |
|
169 @@ -1,4 +1,4 @@ |
|
170 -#!/usr/bin/env python |
|
171 +#!/usr/bin/python2.6 |
|
172 # -*- coding: latin-1 -*- |
|
173 """Generate Python documentation in HTML or text for interactive use. |
|
174 |
|
175 diff -u Python-2.6.4/Lib/quopri.py.orig Python-2.6.4/Lib/quopri.py |
|
176 --- Python-2.6.4/Lib/quopri.py.orig Mon Feb 21 10:46:29 2011 |
|
177 +++ Python-2.6.4/Lib/quopri.py Mon Feb 21 10:46:29 2011 |
|
178 @@ -1,4 +1,4 @@ |
|
179 -#! /usr/bin/env python |
|
180 +#!/usr/bin/python2.6 |
|
181 |
|
182 """Conversions to/from quoted-printable transport encoding as per RFC 1521.""" |
|
183 |
|
184 diff -u Python-2.6.4/Lib/keyword.py.orig Python-2.6.4/Lib/keyword.py |
|
185 --- Python-2.6.4/Lib/keyword.py.orig Mon Feb 21 10:46:24 2011 |
|
186 +++ Python-2.6.4/Lib/keyword.py Mon Feb 21 10:46:24 2011 |
|
187 @@ -1,4 +1,4 @@ |
|
188 -#! /usr/bin/env python |
|
189 +#!/usr/bin/python2.6 |
|
190 |
|
191 """Keywords (from "graminit.c") |
|
192 |
|
193 diff -u Python-2.6.4/Lib/mailbox.py.orig Python-2.6.4/Lib/mailbox.py |
|
194 --- Python-2.6.4/Lib/mailbox.py.orig Mon Feb 21 10:46:27 2011 |
|
195 +++ Python-2.6.4/Lib/mailbox.py Mon Feb 21 10:46:27 2011 |
|
196 @@ -1,4 +1,4 @@ |
|
197 -#! /usr/bin/env python |
|
198 +#!/usr/bin/python2.6 |
|
199 |
|
200 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.""" |
|
201 |
|
202 diff -u Python-2.6.4/Lib/difflib.py.orig Python-2.6.4/Lib/difflib.py |
|
203 --- Python-2.6.4/Lib/difflib.py.orig Mon Feb 21 10:46:36 2011 |
|
204 +++ Python-2.6.4/Lib/difflib.py Mon Feb 21 10:46:36 2011 |
|
205 @@ -1,4 +1,4 @@ |
|
206 -#! /usr/bin/env python |
|
207 +#!/usr/bin/python2.6 |
|
208 |
|
209 """ |
|
210 Module difflib -- helpers for computing deltas between objects. |
|
211 diff -u Python-2.6.4/Lib/webbrowser.py.orig Python-2.6.4/Lib/webbrowser.py |
|
212 --- Python-2.6.4/Lib/webbrowser.py.orig Mon Feb 21 10:46:26 2011 |
|
213 +++ Python-2.6.4/Lib/webbrowser.py Mon Feb 21 10:46:26 2011 |
|
214 @@ -1,4 +1,4 @@ |
|
215 -#! /usr/bin/env python |
|
216 +#!/usr/bin/python2.6 |
|
217 """Interfaces for launching and remotely controlling Web browsers.""" |
|
218 # Maintained by Georg Brandl. |
|
219 |
|
220 diff -u Python-2.6.4/Lib/unittest.py.orig Python-2.6.4/Lib/unittest.py |
|
221 --- Python-2.6.4/Lib/unittest.py.orig Mon Feb 21 10:46:28 2011 |
|
222 +++ Python-2.6.4/Lib/unittest.py Mon Feb 21 10:46:28 2011 |
|
223 @@ -1,4 +1,4 @@ |
|
224 -#!/usr/bin/env python |
|
225 +#!/usr/bin/python2.6 |
|
226 ''' |
|
227 Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's |
|
228 Smalltalk testing framework. |
|
229 diff -u Python-2.6.4/Lib/bsddb/test/test_dbtables.py.orig Python-2.6.4/Lib/bsddb/test/test_dbtables.py |
|
230 --- Python-2.6.4/Lib/bsddb/test/test_dbtables.py.orig Mon Feb 21 10:46:28 2011 |
|
231 +++ Python-2.6.4/Lib/bsddb/test/test_dbtables.py Mon Feb 21 10:46:28 2011 |
|
232 @@ -1,4 +1,4 @@ |
|
233 -#!/usr/bin/env python |
|
234 +#!/usr/bin/python2.6 |
|
235 # |
|
236 #----------------------------------------------------------------------- |
|
237 # A test suite for the table interface built on bsddb.db |
|
238 diff -u Python-2.6.4/Lib/bsddb/dbshelve.py.orig Python-2.6.4/Lib/bsddb/dbshelve.py |
|
239 --- Python-2.6.4/Lib/bsddb/dbshelve.py.orig Mon Feb 21 10:46:28 2011 |
|
240 +++ Python-2.6.4/Lib/bsddb/dbshelve.py Mon Feb 21 10:46:28 2011 |
|
241 @@ -1,4 +1,4 @@ |
|
242 -#!/bin/env python |
|
243 +#!/usr/bin/python2.6 |
|
244 #------------------------------------------------------------------------ |
|
245 # Copyright (c) 1997-2001 by Total Control Software |
|
246 # All Rights Reserved |
|
247 diff -u Python-2.6.4/Lib/token.py.orig Python-2.6.4/Lib/token.py |
|
248 --- Python-2.6.4/Lib/token.py.orig Mon Feb 21 10:46:28 2011 |
|
249 +++ Python-2.6.4/Lib/token.py Mon Feb 21 10:46:28 2011 |
|
250 @@ -1,4 +1,4 @@ |
|
251 -#! /usr/bin/env python |
|
252 +#!/usr/bin/python2.6 |
|
253 |
|
254 """Token constants (from "token.h").""" |
|
255 |
|
256 diff -u Python-2.6.4/Lib/Cookie.py.orig Python-2.6.4/Lib/Cookie.py |
|
257 --- Python-2.6.4/Lib/Cookie.py.orig Mon Feb 21 10:46:25 2011 |
|
258 +++ Python-2.6.4/Lib/Cookie.py Mon Feb 21 10:46:25 2011 |
|
259 @@ -1,4 +1,4 @@ |
|
260 -#!/usr/bin/env python |
|
261 +#!/usr/bin/python2.6 |
|
262 # |
|
263 |
|
264 #### |
|
265 diff -u Python-2.6.4/Lib/smtplib.py.orig Python-2.6.4/Lib/smtplib.py |
|
266 --- Python-2.6.4/Lib/smtplib.py.orig Mon Feb 21 10:46:28 2011 |
|
267 +++ Python-2.6.4/Lib/smtplib.py Mon Feb 21 10:46:28 2011 |
|
268 @@ -1,4 +1,4 @@ |
|
269 -#! /usr/bin/env python |
|
270 +#!/usr/bin/python2.6 |
|
271 |
|
272 '''SMTP/ESMTP client class. |
|
273 |
|
274 diff -u Python-2.6.4/Lib/smtpd.py.orig Python-2.6.4/Lib/smtpd.py |
|
275 --- Python-2.6.4/Lib/smtpd.py.orig Mon Feb 21 10:46:28 2011 |
|
276 +++ Python-2.6.4/Lib/smtpd.py Mon Feb 21 10:46:28 2011 |
|
277 @@ -1,4 +1,4 @@ |
|
278 -#! /usr/bin/env python |
|
279 +#!/usr/bin/python2.6 |
|
280 """An RFC 2821 smtp proxy. |
|
281 |
|
282 Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] |
|
283 diff -u Python-2.6.4/Lib/test/regrtest.py.orig Python-2.6.4/Lib/test/regrtest.py |
|
284 --- Python-2.6.4/Lib/test/regrtest.py.orig Mon Feb 21 10:46:35 2011 |
|
285 +++ Python-2.6.4/Lib/test/regrtest.py Mon Feb 21 10:46:35 2011 |
|
286 @@ -1,4 +1,4 @@ |
|
287 -#! /usr/bin/env python |
|
288 +#!/usr/bin/python2.6 |
|
289 |
|
290 """Regression test. |
|
291 |
|
292 diff -u Python-2.6.4/Lib/test/test_sets.py.orig Python-2.6.4/Lib/test/test_sets.py |
|
293 --- Python-2.6.4/Lib/test/test_sets.py.orig Mon Feb 21 10:46:33 2011 |
|
294 +++ Python-2.6.4/Lib/test/test_sets.py Mon Feb 21 10:46:33 2011 |
|
295 @@ -1,4 +1,4 @@ |
|
296 -#!/usr/bin/env python |
|
297 +#!/usr/bin/python2.6 |
|
298 |
|
299 import warnings |
|
300 warnings.filterwarnings("ignore", "the sets module is deprecated", |
|
301 diff -u Python-2.6.4/Lib/test/test_dl.py.orig Python-2.6.4/Lib/test/test_dl.py |
|
302 --- Python-2.6.4/Lib/test/test_dl.py.orig Mon Feb 21 10:46:34 2011 |
|
303 +++ Python-2.6.4/Lib/test/test_dl.py Mon Feb 21 10:46:34 2011 |
|
304 @@ -1,4 +1,4 @@ |
|
305 -#! /usr/bin/env python |
|
306 +#!/usr/bin/python2.6 |
|
307 """Test dlmodule.c |
|
308 Roger E. Masse revised strategy by Barry Warsaw |
|
309 """ |
|
310 diff -u Python-2.6.4/Lib/test/test_multiprocessing.py.orig Python-2.6.4/Lib/test/test_multiprocessing.py |
|
311 --- Python-2.6.4/Lib/test/test_multiprocessing.py.orig Mon Feb 21 10:46:35 2011 |
|
312 +++ Python-2.6.4/Lib/test/test_multiprocessing.py Mon Feb 21 10:46:35 2011 |
|
313 @@ -1,4 +1,4 @@ |
|
314 -#!/usr/bin/env python |
|
315 +#!/usr/bin/python2.6 |
|
316 |
|
317 # |
|
318 # Unit tests for the multiprocessing package |
|
319 diff -u Python-2.6.4/Lib/test/test_cmd.py.orig Python-2.6.4/Lib/test/test_cmd.py |
|
320 --- Python-2.6.4/Lib/test/test_cmd.py.orig Mon Feb 21 10:46:36 2011 |
|
321 +++ Python-2.6.4/Lib/test/test_cmd.py Mon Feb 21 10:46:36 2011 |
|
322 @@ -1,4 +1,4 @@ |
|
323 -#!/usr/bin/env python |
|
324 +#!/usr/bin/python2.6 |
|
325 """ |
|
326 Test script for the 'cmd' module |
|
327 Original by Michael Schneider |
|
328 diff -u Python-2.6.4/Lib/test/test_userstring.py.orig Python-2.6.4/Lib/test/test_userstring.py |
|
329 --- Python-2.6.4/Lib/test/test_userstring.py.orig Mon Feb 21 10:46:33 2011 |
|
330 +++ Python-2.6.4/Lib/test/test_userstring.py Mon Feb 21 10:46:33 2011 |
|
331 @@ -1,4 +1,4 @@ |
|
332 -#!/usr/bin/env python |
|
333 +#!/usr/bin/python2.6 |
|
334 # UserString is a wrapper around the native builtin string type. |
|
335 # UserString instances should behave similar to builtin string objects. |
|
336 |
|
337 diff -u Python-2.6.4/Lib/test/test_popen.py.orig Python-2.6.4/Lib/test/test_popen.py |
|
338 --- Python-2.6.4/Lib/test/test_popen.py.orig Mon Feb 21 10:46:33 2011 |
|
339 +++ Python-2.6.4/Lib/test/test_popen.py Mon Feb 21 10:46:33 2011 |
|
340 @@ -1,4 +1,4 @@ |
|
341 -#! /usr/bin/env python |
|
342 +#!/usr/bin/python2.6 |
|
343 """Basic tests for os.popen() |
|
344 |
|
345 Particularly useful for platforms that fake popen. |
|
346 diff -u Python-2.6.4/Lib/test/test_cd.py.orig Python-2.6.4/Lib/test/test_cd.py |
|
347 --- Python-2.6.4/Lib/test/test_cd.py.orig Mon Feb 21 10:46:33 2011 |
|
348 +++ Python-2.6.4/Lib/test/test_cd.py Mon Feb 21 10:46:33 2011 |
|
349 @@ -1,4 +1,4 @@ |
|
350 -#! /usr/bin/env python |
|
351 +#!/usr/bin/python2.6 |
|
352 """Whimpy test script for the cd module |
|
353 Roger E. Masse |
|
354 """ |
|
355 diff -u Python-2.6.4/Lib/test/test_cl.py.orig Python-2.6.4/Lib/test/test_cl.py |
|
356 --- Python-2.6.4/Lib/test/test_cl.py.orig Mon Feb 21 10:46:34 2011 |
|
357 +++ Python-2.6.4/Lib/test/test_cl.py Mon Feb 21 10:46:34 2011 |
|
358 @@ -1,4 +1,4 @@ |
|
359 -#! /usr/bin/env python |
|
360 +#!/usr/bin/python2.6 |
|
361 """Whimpy test script for the cl module |
|
362 Roger E. Masse |
|
363 """ |
|
364 diff -u Python-2.6.4/Lib/test/test_imgfile.py.orig Python-2.6.4/Lib/test/test_imgfile.py |
|
365 --- Python-2.6.4/Lib/test/test_imgfile.py.orig Mon Feb 21 10:46:35 2011 |
|
366 +++ Python-2.6.4/Lib/test/test_imgfile.py Mon Feb 21 10:46:35 2011 |
|
367 @@ -1,4 +1,4 @@ |
|
368 -#! /usr/bin/env python |
|
369 +#!/usr/bin/python2.6 |
|
370 |
|
371 """Simple test script for imgfile.c |
|
372 Roger E. Masse |
|
373 diff -u Python-2.6.4/Lib/test/test_random.py.orig Python-2.6.4/Lib/test/test_random.py |
|
374 --- Python-2.6.4/Lib/test/test_random.py.orig Mon Feb 21 10:46:35 2011 |
|
375 +++ Python-2.6.4/Lib/test/test_random.py Mon Feb 21 10:46:35 2011 |
|
376 @@ -1,4 +1,4 @@ |
|
377 -#!/usr/bin/env python |
|
378 +#!/usr/bin/python2.6 |
|
379 |
|
380 import unittest |
|
381 import random |
|
382 diff -u Python-2.6.4/Lib/test/curses_tests.py.orig Python-2.6.4/Lib/test/curses_tests.py |
|
383 --- Python-2.6.4/Lib/test/curses_tests.py.orig Mon Feb 21 10:46:32 2011 |
|
384 +++ Python-2.6.4/Lib/test/curses_tests.py Mon Feb 21 10:46:32 2011 |
|
385 @@ -1,4 +1,4 @@ |
|
386 -#!/usr/bin/env python |
|
387 +#!/usr/bin/python2.6 |
|
388 # |
|
389 # $Id: ncurses.py 36559 2004-07-18 05:56:09Z tim_one $ |
|
390 # |
|
391 diff -u Python-2.6.4/Lib/test/test_codecmaps_cn.py.orig Python-2.6.4/Lib/test/test_codecmaps_cn.py |
|
392 --- Python-2.6.4/Lib/test/test_codecmaps_cn.py.orig Mon Feb 21 10:46:34 2011 |
|
393 +++ Python-2.6.4/Lib/test/test_codecmaps_cn.py Mon Feb 21 10:46:34 2011 |
|
394 @@ -1,4 +1,4 @@ |
|
395 -#!/usr/bin/env python |
|
396 +#!/usr/bin/python2.6 |
|
397 # |
|
398 # test_codecmaps_cn.py |
|
399 # Codec mapping tests for PRC encodings |
|
400 diff -u Python-2.6.4/Lib/test/test_whichdb.py.orig Python-2.6.4/Lib/test/test_whichdb.py |
|
401 --- Python-2.6.4/Lib/test/test_whichdb.py.orig Mon Feb 21 10:46:36 2011 |
|
402 +++ Python-2.6.4/Lib/test/test_whichdb.py Mon Feb 21 10:46:36 2011 |
|
403 @@ -1,4 +1,4 @@ |
|
404 -#! /usr/bin/env python |
|
405 +#!/usr/bin/python2.6 |
|
406 """Test script for the whichdb module |
|
407 based on test_anydbm.py |
|
408 """ |
|
409 diff -u Python-2.6.4/Lib/test/test_eof.py.orig Python-2.6.4/Lib/test/test_eof.py |
|
410 --- Python-2.6.4/Lib/test/test_eof.py.orig Mon Feb 21 10:46:35 2011 |
|
411 +++ Python-2.6.4/Lib/test/test_eof.py Mon Feb 21 10:46:35 2011 |
|
412 @@ -1,4 +1,4 @@ |
|
413 -#! /usr/bin/env python |
|
414 +#!/usr/bin/python2.6 |
|
415 """test script for a few new invalid token catches""" |
|
416 |
|
417 import unittest |
|
418 diff -u Python-2.6.4/Lib/test/test_imageop.py.orig Python-2.6.4/Lib/test/test_imageop.py |
|
419 --- Python-2.6.4/Lib/test/test_imageop.py.orig Mon Feb 21 10:46:31 2011 |
|
420 +++ Python-2.6.4/Lib/test/test_imageop.py Mon Feb 21 10:46:31 2011 |
|
421 @@ -1,4 +1,4 @@ |
|
422 -#! /usr/bin/env python |
|
423 +#!/usr/bin/python2.6 |
|
424 |
|
425 """Test script for the imageop module. This has the side |
|
426 effect of partially testing the imgfile module as well. |
|
427 diff -u Python-2.6.4/Lib/test/test_codecmaps_tw.py.orig Python-2.6.4/Lib/test/test_codecmaps_tw.py |
|
428 --- Python-2.6.4/Lib/test/test_codecmaps_tw.py.orig Mon Feb 21 10:46:35 2011 |
|
429 +++ Python-2.6.4/Lib/test/test_codecmaps_tw.py Mon Feb 21 10:46:35 2011 |
|
430 @@ -1,4 +1,4 @@ |
|
431 -#!/usr/bin/env python |
|
432 +#!/usr/bin/python2.6 |
|
433 # |
|
434 # test_codecmaps_tw.py |
|
435 # Codec mapping tests for ROC encodings |
|
436 diff -u Python-2.6.4/Lib/test/test_codecencodings_hk.py.orig Python-2.6.4/Lib/test/test_codecencodings_hk.py |
|
437 --- Python-2.6.4/Lib/test/test_codecencodings_hk.py.orig Mon Feb 21 10:46:33 2011 |
|
438 +++ Python-2.6.4/Lib/test/test_codecencodings_hk.py Mon Feb 21 10:46:33 2011 |
|
439 @@ -1,4 +1,4 @@ |
|
440 -#!/usr/bin/env python |
|
441 +#!/usr/bin/python2.6 |
|
442 # |
|
443 # test_codecencodings_hk.py |
|
444 # Codec encoding tests for HongKong encodings. |
|
445 diff -u Python-2.6.4/Lib/test/test_codecencodings_jp.py.orig Python-2.6.4/Lib/test/test_codecencodings_jp.py |
|
446 --- Python-2.6.4/Lib/test/test_codecencodings_jp.py.orig Mon Feb 21 10:46:33 2011 |
|
447 +++ Python-2.6.4/Lib/test/test_codecencodings_jp.py Mon Feb 21 10:46:33 2011 |
|
448 @@ -1,4 +1,4 @@ |
|
449 -#!/usr/bin/env python |
|
450 +#!/usr/bin/python2.6 |
|
451 # |
|
452 # test_codecencodings_jp.py |
|
453 # Codec encoding tests for Japanese encodings. |
|
454 diff -u Python-2.6.4/Lib/test/test_with.py.orig Python-2.6.4/Lib/test/test_with.py |
|
455 --- Python-2.6.4/Lib/test/test_with.py.orig Mon Feb 21 10:46:33 2011 |
|
456 +++ Python-2.6.4/Lib/test/test_with.py Mon Feb 21 10:46:33 2011 |
|
457 @@ -1,4 +1,4 @@ |
|
458 -#!/usr/bin/env python |
|
459 +#!/usr/bin/python2.6 |
|
460 |
|
461 """Unit tests for the with statement specified in PEP 343.""" |
|
462 |
|
463 diff -u Python-2.6.4/Lib/test/crashers/recursive_call.py.orig Python-2.6.4/Lib/test/crashers/recursive_call.py |
|
464 --- Python-2.6.4/Lib/test/crashers/recursive_call.py.orig Mon Feb 21 10:46:33 2011 |
|
465 +++ Python-2.6.4/Lib/test/crashers/recursive_call.py Mon Feb 21 10:46:33 2011 |
|
466 @@ -1,4 +1,4 @@ |
|
467 -#!/usr/bin/env python |
|
468 +#!/usr/bin/python2.6 |
|
469 |
|
470 # No bug report AFAIK, mail on python-dev on 2006-01-10 |
|
471 |
|
472 diff -u Python-2.6.4/Lib/test/test_codecmaps_kr.py.orig Python-2.6.4/Lib/test/test_codecmaps_kr.py |
|
473 --- Python-2.6.4/Lib/test/test_codecmaps_kr.py.orig Mon Feb 21 10:46:32 2011 |
|
474 +++ Python-2.6.4/Lib/test/test_codecmaps_kr.py Mon Feb 21 10:46:32 2011 |
|
475 @@ -1,4 +1,4 @@ |
|
476 -#!/usr/bin/env python |
|
477 +#!/usr/bin/python2.6 |
|
478 # |
|
479 # test_codecmaps_kr.py |
|
480 # Codec mapping tests for ROK encodings |
|
481 diff -u Python-2.6.4/Lib/test/test_array.py.orig Python-2.6.4/Lib/test/test_array.py |
|
482 --- Python-2.6.4/Lib/test/test_array.py.orig Mon Feb 21 10:46:34 2011 |
|
483 +++ Python-2.6.4/Lib/test/test_array.py Mon Feb 21 10:46:34 2011 |
|
484 @@ -1,4 +1,4 @@ |
|
485 -#! /usr/bin/env python |
|
486 +#!/usr/bin/python2.6 |
|
487 """Test the arraymodule. |
|
488 Roger E. Masse |
|
489 """ |
|
490 diff -u Python-2.6.4/Lib/test/test_pep263.py.orig Python-2.6.4/Lib/test/test_pep263.py |
|
491 --- Python-2.6.4/Lib/test/test_pep263.py.orig Mon Feb 21 10:46:32 2011 |
|
492 +++ Python-2.6.4/Lib/test/test_pep263.py Mon Feb 21 10:46:32 2011 |
|
493 @@ -1,4 +1,4 @@ |
|
494 -# -*- coding: koi8-r -*- |
|
495 +#!/usr/bin/python2.6 |
|
496 |
|
497 import unittest |
|
498 from test import test_support |
|
499 diff -u Python-2.6.4/Lib/test/test_anydbm.py.orig Python-2.6.4/Lib/test/test_anydbm.py |
|
500 --- Python-2.6.4/Lib/test/test_anydbm.py.orig Mon Feb 21 10:46:35 2011 |
|
501 +++ Python-2.6.4/Lib/test/test_anydbm.py Mon Feb 21 10:46:35 2011 |
|
502 @@ -1,4 +1,4 @@ |
|
503 -#! /usr/bin/env python |
|
504 +#!/usr/bin/python2.6 |
|
505 """Test script for the anydbm module |
|
506 based on testdumbdbm.py |
|
507 """ |
|
508 diff -u Python-2.6.4/Lib/test/test_smtpnet.py.orig Python-2.6.4/Lib/test/test_smtpnet.py |
|
509 --- Python-2.6.4/Lib/test/test_smtpnet.py.orig Mon Feb 21 10:46:34 2011 |
|
510 +++ Python-2.6.4/Lib/test/test_smtpnet.py Mon Feb 21 10:46:34 2011 |
|
511 @@ -1,4 +1,4 @@ |
|
512 -#!/usr/bin/env python |
|
513 +#!/usr/bin/python2.6 |
|
514 |
|
515 import unittest |
|
516 from test import test_support |
|
517 diff -u Python-2.6.4/Lib/test/test_al.py.orig Python-2.6.4/Lib/test/test_al.py |
|
518 --- Python-2.6.4/Lib/test/test_al.py.orig Mon Feb 21 10:46:31 2011 |
|
519 +++ Python-2.6.4/Lib/test/test_al.py Mon Feb 21 10:46:31 2011 |
|
520 @@ -1,4 +1,4 @@ |
|
521 -#! /usr/bin/env python |
|
522 +#!/usr/bin/python2.6 |
|
523 """Whimpy test script for the al module |
|
524 Roger E. Masse |
|
525 """ |
|
526 diff -u Python-2.6.4/Lib/test/test_urllib2net.py.orig Python-2.6.4/Lib/test/test_urllib2net.py |
|
527 --- Python-2.6.4/Lib/test/test_urllib2net.py.orig Mon Feb 21 10:46:33 2011 |
|
528 +++ Python-2.6.4/Lib/test/test_urllib2net.py Mon Feb 21 10:46:33 2011 |
|
529 @@ -1,4 +1,4 @@ |
|
530 -#!/usr/bin/env python |
|
531 +#!/usr/bin/python2.6 |
|
532 |
|
533 import unittest |
|
534 from test import test_support |
|
535 diff -u Python-2.6.4/Lib/test/test_marshal.py.orig Python-2.6.4/Lib/test/test_marshal.py |
|
536 --- Python-2.6.4/Lib/test/test_marshal.py.orig Mon Feb 21 10:46:32 2011 |
|
537 +++ Python-2.6.4/Lib/test/test_marshal.py Mon Feb 21 10:46:32 2011 |
|
538 @@ -1,4 +1,4 @@ |
|
539 -#!/usr/bin/env python |
|
540 +#!/usr/bin/python2.6 |
|
541 # -*- coding: iso-8859-1 -*- |
|
542 |
|
543 from test import test_support |
|
544 diff -u Python-2.6.4/Lib/test/test_urlparse.py.orig Python-2.6.4/Lib/test/test_urlparse.py |
|
545 --- Python-2.6.4/Lib/test/test_urlparse.py.orig Mon Feb 21 10:46:33 2011 |
|
546 +++ Python-2.6.4/Lib/test/test_urlparse.py Mon Feb 21 10:46:33 2011 |
|
547 @@ -1,4 +1,4 @@ |
|
548 -#! /usr/bin/env python |
|
549 +#!/usr/bin/python2.6 |
|
550 |
|
551 from test import test_support |
|
552 import unittest |
|
553 diff -u Python-2.6.4/Lib/test/test_bz2.py.orig Python-2.6.4/Lib/test/test_bz2.py |
|
554 --- Python-2.6.4/Lib/test/test_bz2.py.orig Mon Feb 21 10:46:34 2011 |
|
555 +++ Python-2.6.4/Lib/test/test_bz2.py Mon Feb 21 10:46:34 2011 |
|
556 @@ -1,4 +1,4 @@ |
|
557 -#!/usr/bin/python |
|
558 +#!/usr/bin/python2.6 |
|
559 from test import test_support |
|
560 from test.test_support import TESTFN |
|
561 |
|
562 diff -u Python-2.6.4/Lib/test/test_urllibnet.py.orig Python-2.6.4/Lib/test/test_urllibnet.py |
|
563 --- Python-2.6.4/Lib/test/test_urllibnet.py.orig Mon Feb 21 10:46:32 2011 |
|
564 +++ Python-2.6.4/Lib/test/test_urllibnet.py Mon Feb 21 10:46:32 2011 |
|
565 @@ -1,4 +1,4 @@ |
|
566 -#!/usr/bin/env python |
|
567 +#!/usr/bin/python2.6 |
|
568 |
|
569 import unittest |
|
570 from test import test_support |
|
571 diff -u Python-2.6.4/Lib/test/test_logging.py.orig Python-2.6.4/Lib/test/test_logging.py |
|
572 --- Python-2.6.4/Lib/test/test_logging.py.orig Mon Feb 21 10:46:33 2011 |
|
573 +++ Python-2.6.4/Lib/test/test_logging.py Mon Feb 21 10:46:33 2011 |
|
574 @@ -1,4 +1,4 @@ |
|
575 -#!/usr/bin/env python |
|
576 +#!/usr/bin/python2.6 |
|
577 # |
|
578 # Copyright 2001-2004 by Vinay Sajip. All Rights Reserved. |
|
579 # |
|
580 diff -u Python-2.6.4/Lib/test/test_socket.py.orig Python-2.6.4/Lib/test/test_socket.py |
|
581 --- Python-2.6.4/Lib/test/test_socket.py.orig Mon Feb 21 10:46:35 2011 |
|
582 +++ Python-2.6.4/Lib/test/test_socket.py Mon Feb 21 10:46:35 2011 |
|
583 @@ -1,4 +1,4 @@ |
|
584 -#!/usr/bin/env python |
|
585 +#!/usr/bin/python2.6 |
|
586 |
|
587 import unittest |
|
588 from test import test_support |
|
589 diff -u Python-2.6.4/Lib/test/pystone.py.orig Python-2.6.4/Lib/test/pystone.py |
|
590 --- Python-2.6.4/Lib/test/pystone.py.orig Mon Feb 21 10:46:34 2011 |
|
591 +++ Python-2.6.4/Lib/test/pystone.py Mon Feb 21 10:46:34 2011 |
|
592 @@ -1,4 +1,4 @@ |
|
593 -#! /usr/bin/env python |
|
594 +#!/usr/bin/python2.6 |
|
595 |
|
596 """ |
|
597 "PYSTONE" Benchmark Program |
|
598 diff -u Python-2.6.4/Lib/test/test_multibytecodec.py.orig Python-2.6.4/Lib/test/test_multibytecodec.py |
|
599 --- Python-2.6.4/Lib/test/test_multibytecodec.py.orig Mon Feb 21 10:46:35 2011 |
|
600 +++ Python-2.6.4/Lib/test/test_multibytecodec.py Mon Feb 21 10:46:35 2011 |
|
601 @@ -1,4 +1,4 @@ |
|
602 -#!/usr/bin/env python |
|
603 +#!/usr/bin/python2.6 |
|
604 # |
|
605 # test_multibytecodec.py |
|
606 # Unit test for multibytecodec itself |
|
607 diff -u Python-2.6.4/Lib/test/test_popen2.py.orig Python-2.6.4/Lib/test/test_popen2.py |
|
608 --- Python-2.6.4/Lib/test/test_popen2.py.orig Mon Feb 21 10:46:33 2011 |
|
609 +++ Python-2.6.4/Lib/test/test_popen2.py Mon Feb 21 10:46:33 2011 |
|
610 @@ -1,4 +1,4 @@ |
|
611 -#! /usr/bin/env python |
|
612 +#!/usr/bin/python2.6 |
|
613 """Test script for popen2.py""" |
|
614 |
|
615 import warnings |
|
616 diff -u Python-2.6.4/Lib/test/test_binhex.py.orig Python-2.6.4/Lib/test/test_binhex.py |
|
617 --- Python-2.6.4/Lib/test/test_binhex.py.orig Mon Feb 21 10:46:34 2011 |
|
618 +++ Python-2.6.4/Lib/test/test_binhex.py Mon Feb 21 10:46:34 2011 |
|
619 @@ -1,4 +1,4 @@ |
|
620 -#! /usr/bin/env python |
|
621 +#!/usr/bin/python2.6 |
|
622 """Test script for the binhex C module |
|
623 |
|
624 Uses the mechanism of the python binhex module |
|
625 diff -u Python-2.6.4/Lib/test/test_gzip.py.orig Python-2.6.4/Lib/test/test_gzip.py |
|
626 --- Python-2.6.4/Lib/test/test_gzip.py.orig Mon Feb 21 10:46:36 2011 |
|
627 +++ Python-2.6.4/Lib/test/test_gzip.py Mon Feb 21 10:46:36 2011 |
|
628 @@ -1,4 +1,4 @@ |
|
629 -#! /usr/bin/env python |
|
630 +#!/usr/bin/python2.6 |
|
631 """Test script for the gzip module. |
|
632 """ |
|
633 |
|
634 diff -u Python-2.6.4/Lib/test/re_tests.py.orig Python-2.6.4/Lib/test/re_tests.py |
|
635 --- Python-2.6.4/Lib/test/re_tests.py.orig Mon Feb 21 10:46:35 2011 |
|
636 +++ Python-2.6.4/Lib/test/re_tests.py Mon Feb 21 10:46:35 2011 |
|
637 @@ -1,4 +1,4 @@ |
|
638 -#!/usr/bin/env python |
|
639 +#!/usr/bin/python2.6 |
|
640 # -*- mode: python -*- |
|
641 |
|
642 # Re test suite and benchmark suite v1.5 |
|
643 diff -u Python-2.6.4/Lib/test/test_urllib2_localnet.py.orig Python-2.6.4/Lib/test/test_urllib2_localnet.py |
|
644 --- Python-2.6.4/Lib/test/test_urllib2_localnet.py.orig Mon Feb 21 10:46:35 2011 |
|
645 +++ Python-2.6.4/Lib/test/test_urllib2_localnet.py Mon Feb 21 10:46:35 2011 |
|
646 @@ -1,4 +1,4 @@ |
|
647 -#!/usr/bin/env python |
|
648 +#!/usr/bin/python2.6 |
|
649 |
|
650 import mimetools |
|
651 import threading |
|
652 diff -u Python-2.6.4/Lib/test/test_codecencodings_kr.py.orig Python-2.6.4/Lib/test/test_codecencodings_kr.py |
|
653 --- Python-2.6.4/Lib/test/test_codecencodings_kr.py.orig Mon Feb 21 10:46:32 2011 |
|
654 +++ Python-2.6.4/Lib/test/test_codecencodings_kr.py Mon Feb 21 10:46:32 2011 |
|
655 @@ -1,4 +1,4 @@ |
|
656 -#!/usr/bin/env python |
|
657 +#!/usr/bin/python2.6 |
|
658 # |
|
659 # test_codecencodings_kr.py |
|
660 # Codec encoding tests for ROK encodings. |
|
661 diff -u Python-2.6.4/Lib/test/test_multibytecodec_support.py.orig Python-2.6.4/Lib/test/test_multibytecodec_support.py |
|
662 --- Python-2.6.4/Lib/test/test_multibytecodec_support.py.orig Mon Feb 21 10:46:35 2011 |
|
663 +++ Python-2.6.4/Lib/test/test_multibytecodec_support.py Mon Feb 21 10:46:35 2011 |
|
664 @@ -1,4 +1,4 @@ |
|
665 -#!/usr/bin/env python |
|
666 +#!/usr/bin/python2.6 |
|
667 # |
|
668 # test_multibytecodec_support.py |
|
669 # Common Unittest Routines for CJK codecs |
|
670 diff -u Python-2.6.4/Lib/test/test_tcl.py.orig Python-2.6.4/Lib/test/test_tcl.py |
|
671 --- Python-2.6.4/Lib/test/test_tcl.py.orig Mon Feb 21 10:46:36 2011 |
|
672 +++ Python-2.6.4/Lib/test/test_tcl.py Mon Feb 21 10:46:36 2011 |
|
673 @@ -1,4 +1,4 @@ |
|
674 -#!/usr/bin/env python |
|
675 +#!/usr/bin/python2.6 |
|
676 |
|
677 import unittest |
|
678 import os |
|
679 diff -u Python-2.6.4/Lib/test/test_codecencodings_cn.py.orig Python-2.6.4/Lib/test/test_codecencodings_cn.py |
|
680 --- Python-2.6.4/Lib/test/test_codecencodings_cn.py.orig Mon Feb 21 10:46:34 2011 |
|
681 +++ Python-2.6.4/Lib/test/test_codecencodings_cn.py Mon Feb 21 10:46:34 2011 |
|
682 @@ -1,4 +1,4 @@ |
|
683 -#!/usr/bin/env python |
|
684 +#!/usr/bin/python2.6 |
|
685 # |
|
686 # test_codecencodings_cn.py |
|
687 # Codec encoding tests for PRC encodings. |
|
688 diff -u Python-2.6.4/Lib/test/test_gl.py.orig Python-2.6.4/Lib/test/test_gl.py |
|
689 --- Python-2.6.4/Lib/test/test_gl.py.orig Mon Feb 21 10:46:32 2011 |
|
690 +++ Python-2.6.4/Lib/test/test_gl.py Mon Feb 21 10:46:32 2011 |
|
691 @@ -1,4 +1,4 @@ |
|
692 -#! /usr/bin/env python |
|
693 +#!/usr/bin/python2.6 |
|
694 """Very simple test script for the SGI gl library extension module |
|
695 taken mostly from the documentation. |
|
696 Roger E. Masse |
|
697 diff -u Python-2.6.4/Lib/test/test___future__.py.orig Python-2.6.4/Lib/test/test___future__.py |
|
698 --- Python-2.6.4/Lib/test/test___future__.py.orig Mon Feb 21 10:46:35 2011 |
|
699 +++ Python-2.6.4/Lib/test/test___future__.py Mon Feb 21 10:46:35 2011 |
|
700 @@ -1,4 +1,4 @@ |
|
701 -#! /usr/bin/env python |
|
702 +#!/usr/bin/python2.6 |
|
703 import unittest |
|
704 from test import test_support |
|
705 import __future__ |
|
706 diff -u Python-2.6.4/Lib/test/test_bsddb.py.orig Python-2.6.4/Lib/test/test_bsddb.py |
|
707 --- Python-2.6.4/Lib/test/test_bsddb.py.orig Mon Feb 21 10:46:36 2011 |
|
708 +++ Python-2.6.4/Lib/test/test_bsddb.py Mon Feb 21 10:46:36 2011 |
|
709 @@ -1,4 +1,4 @@ |
|
710 -#! /usr/bin/env python |
|
711 +#!/usr/bin/python2.6 |
|
712 """Test script for the bsddb C module by Roger E. Masse |
|
713 Adapted to unittest format and expanded scope by Raymond Hettinger |
|
714 """ |
|
715 diff -u Python-2.6.4/Lib/test/test_errno.py.orig Python-2.6.4/Lib/test/test_errno.py |
|
716 --- Python-2.6.4/Lib/test/test_errno.py.orig Mon Feb 21 10:46:34 2011 |
|
717 +++ Python-2.6.4/Lib/test/test_errno.py Mon Feb 21 10:46:34 2011 |
|
718 @@ -1,4 +1,4 @@ |
|
719 -#! /usr/bin/env python |
|
720 +#!/usr/bin/python2.6 |
|
721 """Test the errno module |
|
722 Roger E. Masse |
|
723 """ |
|
724 diff -u Python-2.6.4/Lib/test/test_optparse.py.orig Python-2.6.4/Lib/test/test_optparse.py |
|
725 --- Python-2.6.4/Lib/test/test_optparse.py.orig Mon Feb 21 10:46:32 2011 |
|
726 +++ Python-2.6.4/Lib/test/test_optparse.py Mon Feb 21 10:46:32 2011 |
|
727 @@ -1,4 +1,4 @@ |
|
728 -#!/usr/bin/python |
|
729 +#!/usr/bin/python2.6 |
|
730 |
|
731 # |
|
732 # Test suite for Optik. Supplied by Johannes Gijsbers |
|
733 diff -u Python-2.6.4/Lib/test/test_codecencodings_tw.py.orig Python-2.6.4/Lib/test/test_codecencodings_tw.py |
|
734 --- Python-2.6.4/Lib/test/test_codecencodings_tw.py.orig Mon Feb 21 10:46:35 2011 |
|
735 +++ Python-2.6.4/Lib/test/test_codecencodings_tw.py Mon Feb 21 10:46:35 2011 |
|
736 @@ -1,4 +1,4 @@ |
|
737 -#!/usr/bin/env python |
|
738 +#!/usr/bin/python2.6 |
|
739 # |
|
740 # test_codecencodings_tw.py |
|
741 # Codec encoding tests for ROC encodings. |
|
742 diff -u Python-2.6.4/Lib/test/test_codecmaps_jp.py.orig Python-2.6.4/Lib/test/test_codecmaps_jp.py |
|
743 --- Python-2.6.4/Lib/test/test_codecmaps_jp.py.orig Mon Feb 21 10:46:32 2011 |
|
744 +++ Python-2.6.4/Lib/test/test_codecmaps_jp.py Mon Feb 21 10:46:32 2011 |
|
745 @@ -1,4 +1,4 @@ |
|
746 -#!/usr/bin/env python |
|
747 +#!/usr/bin/python2.6 |
|
748 # |
|
749 # test_codecmaps_jp.py |
|
750 # Codec mapping tests for Japanese encodings |
|
751 diff -u Python-2.6.4/Lib/test/test_codecmaps_hk.py.orig Python-2.6.4/Lib/test/test_codecmaps_hk.py |
|
752 --- Python-2.6.4/Lib/test/test_codecmaps_hk.py.orig Mon Feb 21 10:46:34 2011 |
|
753 +++ Python-2.6.4/Lib/test/test_codecmaps_hk.py Mon Feb 21 10:46:34 2011 |
|
754 @@ -1,4 +1,4 @@ |
|
755 -#!/usr/bin/env python |
|
756 +#!/usr/bin/python2.6 |
|
757 # |
|
758 # test_codecmaps_hk.py |
|
759 # Codec mapping tests for HongKong encodings |
|
760 diff -u Python-2.6.4/Lib/test/test_dumbdbm.py.orig Python-2.6.4/Lib/test/test_dumbdbm.py |
|
761 --- Python-2.6.4/Lib/test/test_dumbdbm.py.orig Mon Feb 21 10:46:34 2011 |
|
762 +++ Python-2.6.4/Lib/test/test_dumbdbm.py Mon Feb 21 10:46:34 2011 |
|
763 @@ -1,4 +1,4 @@ |
|
764 -#! /usr/bin/env python |
|
765 +#!/usr/bin/python2.6 |
|
766 """Test script for the dumbdbm module |
|
767 Original by Roger E. Masse |
|
768 """ |
|
769 diff -u Python-2.6.4/Lib/tarfile.py.orig Python-2.6.4/Lib/tarfile.py |
|
770 --- Python-2.6.4/Lib/tarfile.py.orig Mon Feb 21 10:46:38 2011 |
|
771 +++ Python-2.6.4/Lib/tarfile.py Mon Feb 21 10:46:38 2011 |
|
772 @@ -1,4 +1,4 @@ |
|
773 -#!/usr/bin/env python |
|
774 +#!/usr/bin/python2.6 |
|
775 # -*- coding: iso-8859-1 -*- |
|
776 #------------------------------------------------------------------- |
|
777 # tarfile.py |
|
778 diff -u Python-2.6.4/Lib/uu.py.orig Python-2.6.4/Lib/uu.py |
|
779 --- Python-2.6.4/Lib/uu.py.orig Mon Feb 21 10:46:25 2011 |
|
780 +++ Python-2.6.4/Lib/uu.py Mon Feb 21 10:46:25 2011 |
|
781 @@ -1,4 +1,4 @@ |
|
782 -#! /usr/bin/env python |
|
783 +#!/usr/bin/python2.6 |
|
784 |
|
785 # Copyright 1994 by Lance Ellinghouse |
|
786 # Cathedral City, California Republic, United States of America. |
|
787 diff -u Python-2.6.4/Lib/symbol.py.orig Python-2.6.4/Lib/symbol.py |
|
788 --- Python-2.6.4/Lib/symbol.py.orig Mon Feb 21 10:46:27 2011 |
|
789 +++ Python-2.6.4/Lib/symbol.py Mon Feb 21 10:46:27 2011 |
|
790 @@ -1,4 +1,4 @@ |
|
791 -#! /usr/bin/env python |
|
792 +#!/usr/bin/python2.6 |
|
793 |
|
794 """Non-terminal symbols of Python grammar (from "graminit.h").""" |
|
795 |
|
796 diff -u Python-2.6.4/Lib/mimify.py.orig Python-2.6.4/Lib/mimify.py |
|
797 --- Python-2.6.4/Lib/mimify.py.orig Mon Feb 21 10:46:28 2011 |
|
798 +++ Python-2.6.4/Lib/mimify.py Mon Feb 21 10:46:28 2011 |
|
799 @@ -1,4 +1,4 @@ |
|
800 -#! /usr/bin/env python |
|
801 +#!/usr/bin/python2.6 |
|
802 |
|
803 """Mimification and unmimification of mail messages. |
|
804 |
|
805 diff -u Python-2.6.4/Lib/pdb.py.orig Python-2.6.4/Lib/pdb.py |
|
806 --- Python-2.6.4/Lib/pdb.py.orig Mon Feb 21 10:46:38 2011 |
|
807 +++ Python-2.6.4/Lib/pdb.py Mon Feb 21 10:46:38 2011 |
|
808 @@ -1,4 +1,4 @@ |
|
809 -#! /usr/bin/env python |
|
810 +#!/usr/bin/python2.6 |
|
811 |
|
812 """A Python debugger.""" |
|
813 |
|
814 diff -u Python-2.6.4/Lib/plat-mac/bundlebuilder.py.orig Python-2.6.4/Lib/plat-mac/bundlebuilder.py |
|
815 --- Python-2.6.4/Lib/plat-mac/bundlebuilder.py.orig Mon Feb 21 10:46:38 2011 |
|
816 +++ Python-2.6.4/Lib/plat-mac/bundlebuilder.py Mon Feb 21 10:46:38 2011 |
|
817 @@ -1,4 +1,4 @@ |
|
818 -#! /usr/bin/env python |
|
819 +#!/usr/bin/python2.6 |
|
820 |
|
821 """\ |
|
822 bundlebuilder.py -- Tools to assemble MacOS X (application) bundles. |
|
823 diff -u Python-2.6.4/Lib/plat-mac/appletrunner.py.orig Python-2.6.4/Lib/plat-mac/appletrunner.py |
|
824 --- Python-2.6.4/Lib/plat-mac/appletrunner.py.orig Mon Feb 21 10:46:38 2011 |
|
825 +++ Python-2.6.4/Lib/plat-mac/appletrunner.py Mon Feb 21 10:46:38 2011 |
|
826 @@ -1,4 +1,4 @@ |
|
827 -#!/usr/bin/env python |
|
828 +#!/usr/bin/python2.6 |
|
829 # This file is meant as an executable script for running applets. |
|
830 # BuildApplet will use it as the main executable in the .app bundle if |
|
831 # we are not running in a framework build. |
|
832 diff -u Python-2.6.4/Demo/scripts/primes.py.orig Python-2.6.4/Demo/scripts/primes.py |
|
833 --- Python-2.6.4/Demo/scripts/primes.py.orig Mon Feb 21 10:46:39 2011 |
|
834 +++ Python-2.6.4/Demo/scripts/primes.py Mon Feb 21 10:46:39 2011 |
|
835 @@ -1,4 +1,4 @@ |
|
836 -#! /usr/bin/env python |
|
837 +#!/usr/bin/python2.6 |
|
838 |
|
839 # Print prime numbers in a given range |
|
840 |
|
841 diff -u Python-2.6.4/Demo/scripts/mkrcs.py.orig Python-2.6.4/Demo/scripts/mkrcs.py |
|
842 --- Python-2.6.4/Demo/scripts/mkrcs.py.orig Mon Feb 21 10:46:39 2011 |
|
843 +++ Python-2.6.4/Demo/scripts/mkrcs.py Mon Feb 21 10:46:39 2011 |
|
844 @@ -1,4 +1,4 @@ |
|
845 -#! /usr/bin/env python |
|
846 +#!/usr/bin/python2.6 |
|
847 |
|
848 # A rather specialized script to make sure that a symbolic link named |
|
849 # RCS exists pointing to a real RCS directory in a parallel tree |
|
850 diff -u Python-2.6.4/Demo/scripts/queens.py.orig Python-2.6.4/Demo/scripts/queens.py |
|
851 --- Python-2.6.4/Demo/scripts/queens.py.orig Mon Feb 21 10:46:39 2011 |
|
852 +++ Python-2.6.4/Demo/scripts/queens.py Mon Feb 21 10:46:39 2011 |
|
853 @@ -1,4 +1,4 @@ |
|
854 -#! /usr/bin/env python |
|
855 +#!/usr/bin/python2.6 |
|
856 |
|
857 """N queens problem. |
|
858 |
|
859 diff -u Python-2.6.4/Demo/scripts/pi.py.orig Python-2.6.4/Demo/scripts/pi.py |
|
860 --- Python-2.6.4/Demo/scripts/pi.py.orig Mon Feb 21 10:46:39 2011 |
|
861 +++ Python-2.6.4/Demo/scripts/pi.py Mon Feb 21 10:46:39 2011 |
|
862 @@ -1,4 +1,4 @@ |
|
863 -#! /usr/bin/env python |
|
864 +#!/usr/bin/python2.6 |
|
865 |
|
866 # Print digits of pi forever. |
|
867 # |
|
868 diff -u Python-2.6.4/Demo/scripts/mboxconvert.py.orig Python-2.6.4/Demo/scripts/mboxconvert.py |
|
869 --- Python-2.6.4/Demo/scripts/mboxconvert.py.orig Mon Feb 21 10:46:39 2011 |
|
870 +++ Python-2.6.4/Demo/scripts/mboxconvert.py Mon Feb 21 10:46:39 2011 |
|
871 @@ -1,4 +1,4 @@ |
|
872 -#! /usr/bin/env python |
|
873 +#!/usr/bin/python2.6 |
|
874 |
|
875 # Convert MH directories (1 message per file) or MMDF mailboxes (4x^A |
|
876 # delimited) to unix mailbox (From ... delimited) on stdout. |
|
877 diff -u Python-2.6.4/Demo/scripts/eqfix.py.orig Python-2.6.4/Demo/scripts/eqfix.py |
|
878 --- Python-2.6.4/Demo/scripts/eqfix.py.orig Mon Feb 21 10:46:39 2011 |
|
879 +++ Python-2.6.4/Demo/scripts/eqfix.py Mon Feb 21 10:46:39 2011 |
|
880 @@ -1,4 +1,4 @@ |
|
881 -#! /usr/bin/env python |
|
882 +#!/usr/bin/python2.6 |
|
883 |
|
884 # Fix Python source files to use the new equality test operator, i.e., |
|
885 # if x = y: ... |
|
886 diff -u Python-2.6.4/Demo/scripts/find-uname.py.orig Python-2.6.4/Demo/scripts/find-uname.py |
|
887 --- Python-2.6.4/Demo/scripts/find-uname.py.orig Mon Feb 21 10:46:39 2011 |
|
888 +++ Python-2.6.4/Demo/scripts/find-uname.py Mon Feb 21 10:46:39 2011 |
|
889 @@ -1,4 +1,4 @@ |
|
890 -#!/usr/bin/env python |
|
891 +#!/usr/bin/python2.6 |
|
892 |
|
893 """ |
|
894 For each argument on the command line, look for it in the set of all Unicode |
|
895 diff -u Python-2.6.4/Demo/scripts/pp.py.orig Python-2.6.4/Demo/scripts/pp.py |
|
896 --- Python-2.6.4/Demo/scripts/pp.py.orig Mon Feb 21 10:46:39 2011 |
|
897 +++ Python-2.6.4/Demo/scripts/pp.py Mon Feb 21 10:46:39 2011 |
|
898 @@ -1,4 +1,4 @@ |
|
899 -#! /usr/bin/env python |
|
900 +#!/usr/bin/python2.6 |
|
901 |
|
902 # Emulate some Perl command line options. |
|
903 # Usage: pp [-a] [-c] [-d] [-e scriptline] [-F fieldsep] [-n] [-p] [file] ... |
|
904 diff -u Python-2.6.4/Demo/scripts/unbirthday.py.orig Python-2.6.4/Demo/scripts/unbirthday.py |
|
905 --- Python-2.6.4/Demo/scripts/unbirthday.py.orig Mon Feb 21 10:46:39 2011 |
|
906 +++ Python-2.6.4/Demo/scripts/unbirthday.py Mon Feb 21 10:46:39 2011 |
|
907 @@ -1,4 +1,4 @@ |
|
908 -#! /usr/bin/env python |
|
909 +#!/usr/bin/python2.6 |
|
910 |
|
911 # Calculate your unbirthday count (see Alice in Wonderland). |
|
912 # This is defined as the number of days from your birth until today |
|
913 diff -u Python-2.6.4/Demo/scripts/update.py.orig Python-2.6.4/Demo/scripts/update.py |
|
914 --- Python-2.6.4/Demo/scripts/update.py.orig Mon Feb 21 10:46:39 2011 |
|
915 +++ Python-2.6.4/Demo/scripts/update.py Mon Feb 21 10:46:39 2011 |
|
916 @@ -1,4 +1,4 @@ |
|
917 -#! /usr/bin/env python |
|
918 +#!/usr/bin/python2.6 |
|
919 |
|
920 # Update a bunch of files according to a script. |
|
921 # The input file contains lines of the form <filename>:<lineno>:<text>, |
|
922 diff -u Python-2.6.4/Demo/scripts/markov.py.orig Python-2.6.4/Demo/scripts/markov.py |
|
923 --- Python-2.6.4/Demo/scripts/markov.py.orig Mon Feb 21 10:46:39 2011 |
|
924 +++ Python-2.6.4/Demo/scripts/markov.py Mon Feb 21 10:46:39 2011 |
|
925 @@ -1,4 +1,4 @@ |
|
926 -#! /usr/bin/env python |
|
927 +#!/usr/bin/python2.6 |
|
928 |
|
929 class Markov: |
|
930 def __init__(self, histsize, choice): |
|
931 diff -u Python-2.6.4/Demo/scripts/from.py.orig Python-2.6.4/Demo/scripts/from.py |
|
932 --- Python-2.6.4/Demo/scripts/from.py.orig Mon Feb 21 10:46:39 2011 |
|
933 +++ Python-2.6.4/Demo/scripts/from.py Mon Feb 21 10:46:39 2011 |
|
934 @@ -1,4 +1,4 @@ |
|
935 -#! /usr/bin/env python |
|
936 +#!/usr/bin/python2.6 |
|
937 |
|
938 # Print From and Subject of messages in $MAIL. |
|
939 # Extension to multiple mailboxes and other bells & whistles are left |
|
940 diff -u Python-2.6.4/Demo/scripts/script.py.orig Python-2.6.4/Demo/scripts/script.py |
|
941 --- Python-2.6.4/Demo/scripts/script.py.orig Mon Feb 21 10:46:39 2011 |
|
942 +++ Python-2.6.4/Demo/scripts/script.py Mon Feb 21 10:46:39 2011 |
|
943 @@ -1,4 +1,4 @@ |
|
944 -#! /usr/bin/env python |
|
945 +#!/usr/bin/python2.6 |
|
946 # script.py -- Make typescript of terminal session. |
|
947 # Usage: |
|
948 # -a Append to typescript. |
|
949 diff -u Python-2.6.4/Demo/scripts/lpwatch.py.orig Python-2.6.4/Demo/scripts/lpwatch.py |
|
950 --- Python-2.6.4/Demo/scripts/lpwatch.py.orig Mon Feb 21 10:46:39 2011 |
|
951 +++ Python-2.6.4/Demo/scripts/lpwatch.py Mon Feb 21 10:46:39 2011 |
|
952 @@ -1,4 +1,4 @@ |
|
953 -#! /usr/bin/env python |
|
954 +#!/usr/bin/python2.6 |
|
955 |
|
956 # Watch line printer queue(s). |
|
957 # Intended for BSD 4.3 lpq. |
|
958 diff -u Python-2.6.4/Demo/scripts/fact.py.orig Python-2.6.4/Demo/scripts/fact.py |
|
959 --- Python-2.6.4/Demo/scripts/fact.py.orig Mon Feb 21 10:46:39 2011 |
|
960 +++ Python-2.6.4/Demo/scripts/fact.py Mon Feb 21 10:46:39 2011 |
|
961 @@ -1,4 +1,4 @@ |
|
962 -#! /usr/bin/env python |
|
963 +#!/usr/bin/python2.6 |
|
964 |
|
965 # Factorize numbers. |
|
966 # The algorithm is not efficient, but easy to understand. |
|
967 diff -u Python-2.6.4/Demo/scripts/beer.py.orig Python-2.6.4/Demo/scripts/beer.py |
|
968 --- Python-2.6.4/Demo/scripts/beer.py.orig Mon Feb 21 10:46:39 2011 |
|
969 +++ Python-2.6.4/Demo/scripts/beer.py Mon Feb 21 10:46:39 2011 |
|
970 @@ -1,4 +1,4 @@ |
|
971 -#! /usr/bin/env python |
|
972 +#!/usr/bin/python2.6 |
|
973 # By GvR, demystified after a version by Fredrik Lundh. |
|
974 import sys |
|
975 n = 100 |
|
976 diff -u Python-2.6.4/Demo/scripts/newslist.py.orig Python-2.6.4/Demo/scripts/newslist.py |
|
977 --- Python-2.6.4/Demo/scripts/newslist.py.orig Mon Feb 21 10:46:39 2011 |
|
978 +++ Python-2.6.4/Demo/scripts/newslist.py Mon Feb 21 10:46:39 2011 |
|
979 @@ -1,4 +1,4 @@ |
|
980 -#! /usr/bin/env python |
|
981 +#!/usr/bin/python2.6 |
|
982 ####################################################################### |
|
983 # Newslist $Revision: 66429 $ |
|
984 # |
|
985 diff -u Python-2.6.4/Demo/scripts/ftpstats.py.orig Python-2.6.4/Demo/scripts/ftpstats.py |
|
986 --- Python-2.6.4/Demo/scripts/ftpstats.py.orig Mon Feb 21 10:46:39 2011 |
|
987 +++ Python-2.6.4/Demo/scripts/ftpstats.py Mon Feb 21 10:46:39 2011 |
|
988 @@ -1,4 +1,4 @@ |
|
989 -#! /usr/bin/env python |
|
990 +#!/usr/bin/python2.6 |
|
991 |
|
992 # Extract statistics from ftp daemon log. |
|
993 |
|
994 diff -u Python-2.6.4/Demo/scripts/makedir.py.orig Python-2.6.4/Demo/scripts/makedir.py |
|
995 --- Python-2.6.4/Demo/scripts/makedir.py.orig Mon Feb 21 10:46:39 2011 |
|
996 +++ Python-2.6.4/Demo/scripts/makedir.py Mon Feb 21 10:46:39 2011 |
|
997 @@ -1,4 +1,4 @@ |
|
998 -#! /usr/bin/env python |
|
999 +#!/usr/bin/python2.6 |
|
1000 |
|
1001 # Like mkdir, but also make intermediate directories if necessary. |
|
1002 # It is not an error if the given directory already exists (as long |
|
1003 diff -u Python-2.6.4/Demo/turtle/tdemo_clock.py.orig Python-2.6.4/Demo/turtle/tdemo_clock.py |
|
1004 --- Python-2.6.4/Demo/turtle/tdemo_clock.py.orig Mon Feb 21 10:46:39 2011 |
|
1005 +++ Python-2.6.4/Demo/turtle/tdemo_clock.py Mon Feb 21 10:46:39 2011 |
|
1006 @@ -1,4 +1,4 @@ |
|
1007 -#!/usr/bin/python |
|
1008 +#!/usr/bin/python2.6 |
|
1009 # -*- coding: cp1252 -*- |
|
1010 """ turtle-example-suite: |
|
1011 |
|
1012 diff -u Python-2.6.4/Demo/turtle/tdemo_planet_and_moon.py.orig Python-2.6.4/Demo/turtle/tdemo_planet_and_moon.py |
|
1013 --- Python-2.6.4/Demo/turtle/tdemo_planet_and_moon.py.orig Mon Feb 21 10:46:39 2011 |
|
1014 +++ Python-2.6.4/Demo/turtle/tdemo_planet_and_moon.py Mon Feb 21 10:46:39 2011 |
|
1015 @@ -1,4 +1,4 @@ |
|
1016 -#!/usr/bin/python |
|
1017 +#!/usr/bin/python2.6 |
|
1018 """ turtle-example-suite: |
|
1019 |
|
1020 tdemo_planets_and_moon.py |
|
1021 diff -u Python-2.6.4/Demo/turtle/tdemo_lindenmayer_indian.py.orig Python-2.6.4/Demo/turtle/tdemo_lindenmayer_indian.py |
|
1022 --- Python-2.6.4/Demo/turtle/tdemo_lindenmayer_indian.py.orig Mon Feb 21 10:46:39 2011 |
|
1023 +++ Python-2.6.4/Demo/turtle/tdemo_lindenmayer_indian.py Mon Feb 21 10:46:39 2011 |
|
1024 @@ -1,4 +1,4 @@ |
|
1025 -#!/usr/bin/python |
|
1026 +#!/usr/bin/python2.6 |
|
1027 """ turtle-example-suite: |
|
1028 |
|
1029 xtx_lindenmayer_indian.py |
|
1030 diff -u Python-2.6.4/Demo/turtle/tdemo_penrose.py.orig Python-2.6.4/Demo/turtle/tdemo_penrose.py |
|
1031 --- Python-2.6.4/Demo/turtle/tdemo_penrose.py.orig Mon Feb 21 10:46:39 2011 |
|
1032 +++ Python-2.6.4/Demo/turtle/tdemo_penrose.py Mon Feb 21 10:46:39 2011 |
|
1033 @@ -1,4 +1,4 @@ |
|
1034 -#!/usr/bin/python |
|
1035 +#!/usr/bin/python2.6 |
|
1036 """ xturtle-example-suite: |
|
1037 |
|
1038 xtx_kites_and_darts.py |
|
1039 diff -u Python-2.6.4/Demo/turtle/turtleDemo.py.orig Python-2.6.4/Demo/turtle/turtleDemo.py |
|
1040 --- Python-2.6.4/Demo/turtle/turtleDemo.py.orig Mon Feb 21 10:46:39 2011 |
|
1041 +++ Python-2.6.4/Demo/turtle/turtleDemo.py Mon Feb 21 10:46:39 2011 |
|
1042 @@ -1,4 +1,4 @@ |
|
1043 -#!/usr/bin/python |
|
1044 +#!/usr/bin/python2.6 |
|
1045 import sys |
|
1046 import os |
|
1047 |
|
1048 diff -u Python-2.6.4/Demo/turtle/tdemo_yinyang.py.orig Python-2.6.4/Demo/turtle/tdemo_yinyang.py |
|
1049 --- Python-2.6.4/Demo/turtle/tdemo_yinyang.py.orig Mon Feb 21 10:46:39 2011 |
|
1050 +++ Python-2.6.4/Demo/turtle/tdemo_yinyang.py Mon Feb 21 10:46:39 2011 |
|
1051 @@ -1,4 +1,4 @@ |
|
1052 -#!/usr/bin/python |
|
1053 +#!/usr/bin/python2.6 |
|
1054 """ turtle-example-suite: |
|
1055 |
|
1056 tdemo_yinyang.py |
|
1057 diff -u Python-2.6.4/Demo/turtle/tdemo_tree.py.orig Python-2.6.4/Demo/turtle/tdemo_tree.py |
|
1058 --- Python-2.6.4/Demo/turtle/tdemo_tree.py.orig Mon Feb 21 10:46:39 2011 |
|
1059 +++ Python-2.6.4/Demo/turtle/tdemo_tree.py Mon Feb 21 10:46:39 2011 |
|
1060 @@ -1,4 +1,4 @@ |
|
1061 -#!/usr/bin/python |
|
1062 +#!/usr/bin/python2.6 |
|
1063 """ turtle-example-suite: |
|
1064 |
|
1065 tdemo_tree.py |
|
1066 diff -u Python-2.6.4/Demo/turtle/tdemo_fractalcurves.py.orig Python-2.6.4/Demo/turtle/tdemo_fractalcurves.py |
|
1067 --- Python-2.6.4/Demo/turtle/tdemo_fractalcurves.py.orig Mon Feb 21 10:46:39 2011 |
|
1068 +++ Python-2.6.4/Demo/turtle/tdemo_fractalcurves.py Mon Feb 21 10:46:39 2011 |
|
1069 @@ -1,4 +1,4 @@ |
|
1070 -#!/usr/bin/python |
|
1071 +#!/usr/bin/python2.6 |
|
1072 """ turtle-example-suite: |
|
1073 |
|
1074 tdemo_fractalCurves.py |
|
1075 diff -u Python-2.6.4/Demo/turtle/turtledemo_two_canvases.py.orig Python-2.6.4/Demo/turtle/turtledemo_two_canvases.py |
|
1076 --- Python-2.6.4/Demo/turtle/turtledemo_two_canvases.py.orig Mon Feb 21 10:46:39 2011 |
|
1077 +++ Python-2.6.4/Demo/turtle/turtledemo_two_canvases.py Mon Feb 21 10:46:39 2011 |
|
1078 @@ -1,4 +1,4 @@ |
|
1079 -#!/usr/bin/python |
|
1080 +#!/usr/bin/python2.6 |
|
1081 ## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER! |
|
1082 """turtle example: Using TurtleScreen and RawTurtle |
|
1083 for drawing on two distinct canvases. |
|
1084 diff -u Python-2.6.4/Demo/turtle/tdemo_minimal_hanoi.py.orig Python-2.6.4/Demo/turtle/tdemo_minimal_hanoi.py |
|
1085 --- Python-2.6.4/Demo/turtle/tdemo_minimal_hanoi.py.orig Mon Feb 21 10:46:39 2011 |
|
1086 +++ Python-2.6.4/Demo/turtle/tdemo_minimal_hanoi.py Mon Feb 21 10:46:39 2011 |
|
1087 @@ -1,4 +1,4 @@ |
|
1088 -#!/usr/bin/python |
|
1089 +#!/usr/bin/python2.6 |
|
1090 """ turtle-example-suite: |
|
1091 |
|
1092 tdemo_minimal_hanoi.py |
|
1093 diff -u Python-2.6.4/Demo/turtle/tdemo_peace.py.orig Python-2.6.4/Demo/turtle/tdemo_peace.py |
|
1094 --- Python-2.6.4/Demo/turtle/tdemo_peace.py.orig Mon Feb 21 10:46:39 2011 |
|
1095 +++ Python-2.6.4/Demo/turtle/tdemo_peace.py Mon Feb 21 10:46:39 2011 |
|
1096 @@ -1,4 +1,4 @@ |
|
1097 -#!/usr/bin/python |
|
1098 +#!/usr/bin/python2.6 |
|
1099 """ turtle-example-suite: |
|
1100 |
|
1101 tdemo_peace.py |
|
1102 diff -u Python-2.6.4/Demo/turtle/tdemo_bytedesign.py.orig Python-2.6.4/Demo/turtle/tdemo_bytedesign.py |
|
1103 --- Python-2.6.4/Demo/turtle/tdemo_bytedesign.py.orig Mon Feb 21 10:46:39 2011 |
|
1104 +++ Python-2.6.4/Demo/turtle/tdemo_bytedesign.py Mon Feb 21 10:46:39 2011 |
|
1105 @@ -1,4 +1,4 @@ |
|
1106 -#!/usr/bin/python |
|
1107 +#!/usr/bin/python2.6 |
|
1108 """ turtle-example-suite: |
|
1109 |
|
1110 tdemo_bytedesign.py |
|
1111 diff -u Python-2.6.4/Demo/turtle/tdemo_paint.py.orig Python-2.6.4/Demo/turtle/tdemo_paint.py |
|
1112 --- Python-2.6.4/Demo/turtle/tdemo_paint.py.orig Mon Feb 21 10:46:39 2011 |
|
1113 +++ Python-2.6.4/Demo/turtle/tdemo_paint.py Mon Feb 21 10:46:39 2011 |
|
1114 @@ -1,4 +1,4 @@ |
|
1115 -#!/usr/bin/python |
|
1116 +#!/usr/bin/python2.6 |
|
1117 """ turtle-example-suite: |
|
1118 |
|
1119 tdemo_paint.py |
|
1120 diff -u Python-2.6.4/Demo/turtle/tdemo_I_dontlike_tiltdemo.py.orig Python-2.6.4/Demo/turtle/tdemo_I_dontlike_tiltdemo.py |
|
1121 --- Python-2.6.4/Demo/turtle/tdemo_I_dontlike_tiltdemo.py.orig Mon Feb 21 10:46:39 2011 |
|
1122 +++ Python-2.6.4/Demo/turtle/tdemo_I_dontlike_tiltdemo.py Mon Feb 21 10:46:39 2011 |
|
1123 @@ -1,4 +1,4 @@ |
|
1124 -#!/usr/bin/python |
|
1125 +#!/usr/bin/python2.6 |
|
1126 """ turtle-example-suite: |
|
1127 |
|
1128 tdemo-I_dont_like_tiltdemo.py |
|
1129 diff -u Python-2.6.4/Demo/cgi/cgi1.py.orig Python-2.6.4/Demo/cgi/cgi1.py |
|
1130 --- Python-2.6.4/Demo/cgi/cgi1.py.orig Mon Feb 21 10:46:39 2011 |
|
1131 +++ Python-2.6.4/Demo/cgi/cgi1.py Mon Feb 21 10:46:39 2011 |
|
1132 @@ -1,4 +1,4 @@ |
|
1133 -#!/usr/local/bin/python |
|
1134 +#!/usr/bin/python2.6 |
|
1135 |
|
1136 """CGI test 1 - check server setup.""" |
|
1137 |
|
1138 diff -u Python-2.6.4/Demo/cgi/cgi3.py.orig Python-2.6.4/Demo/cgi/cgi3.py |
|
1139 --- Python-2.6.4/Demo/cgi/cgi3.py.orig Mon Feb 21 10:46:39 2011 |
|
1140 +++ Python-2.6.4/Demo/cgi/cgi3.py Mon Feb 21 10:46:39 2011 |
|
1141 @@ -1,4 +1,4 @@ |
|
1142 -#!/usr/local/bin/python |
|
1143 +#!/usr/bin/python2.6 |
|
1144 |
|
1145 """CGI test 3 (persistent data).""" |
|
1146 |
|
1147 diff -u Python-2.6.4/Demo/cgi/cgi2.py.orig Python-2.6.4/Demo/cgi/cgi2.py |
|
1148 --- Python-2.6.4/Demo/cgi/cgi2.py.orig Mon Feb 21 10:46:39 2011 |
|
1149 +++ Python-2.6.4/Demo/cgi/cgi2.py Mon Feb 21 10:46:39 2011 |
|
1150 @@ -1,4 +1,4 @@ |
|
1151 -#!/usr/local/bin/python |
|
1152 +#!/usr/bin/python2.6 |
|
1153 |
|
1154 """CGI test 2 - basic use of cgi module.""" |
|
1155 |
|
1156 diff -u Python-2.6.4/Demo/comparisons/sortingtest.py.orig Python-2.6.4/Demo/comparisons/sortingtest.py |
|
1157 --- Python-2.6.4/Demo/comparisons/sortingtest.py.orig Mon Feb 21 10:46:39 2011 |
|
1158 +++ Python-2.6.4/Demo/comparisons/sortingtest.py Mon Feb 21 10:46:39 2011 |
|
1159 @@ -1,4 +1,4 @@ |
|
1160 -#! /usr/bin/env python |
|
1161 +#!/usr/bin/python2.6 |
|
1162 |
|
1163 # 2) Sorting Test |
|
1164 # |
|
1165 diff -u Python-2.6.4/Demo/comparisons/regextest.py.orig Python-2.6.4/Demo/comparisons/regextest.py |
|
1166 --- Python-2.6.4/Demo/comparisons/regextest.py.orig Mon Feb 21 10:46:39 2011 |
|
1167 +++ Python-2.6.4/Demo/comparisons/regextest.py Mon Feb 21 10:46:39 2011 |
|
1168 @@ -1,4 +1,4 @@ |
|
1169 -#! /usr/bin/env python |
|
1170 +#!/usr/bin/python2.6 |
|
1171 |
|
1172 # 1) Regular Expressions Test |
|
1173 # |
|
1174 diff -u Python-2.6.4/Demo/comparisons/systemtest.py.orig Python-2.6.4/Demo/comparisons/systemtest.py |
|
1175 --- Python-2.6.4/Demo/comparisons/systemtest.py.orig Mon Feb 21 10:46:39 2011 |
|
1176 +++ Python-2.6.4/Demo/comparisons/systemtest.py Mon Feb 21 10:46:39 2011 |
|
1177 @@ -1,4 +1,4 @@ |
|
1178 -#! /usr/bin/env python |
|
1179 +#!/usr/bin/python2.6 |
|
1180 |
|
1181 # 3) System Test |
|
1182 # |
|
1183 diff -u Python-2.6.4/Demo/pysvr/pysvr.py.orig Python-2.6.4/Demo/pysvr/pysvr.py |
|
1184 --- Python-2.6.4/Demo/pysvr/pysvr.py.orig Mon Feb 21 10:46:39 2011 |
|
1185 +++ Python-2.6.4/Demo/pysvr/pysvr.py Mon Feb 21 10:46:39 2011 |
|
1186 @@ -1,4 +1,4 @@ |
|
1187 -#! /usr/bin/env python |
|
1188 +#!/usr/bin/python2.6 |
|
1189 |
|
1190 """A multi-threaded telnet-like server that gives a Python prompt. |
|
1191 |
|
1192 diff -u Python-2.6.4/Demo/tkinter/guido/sortvisu.py.orig Python-2.6.4/Demo/tkinter/guido/sortvisu.py |
|
1193 --- Python-2.6.4/Demo/tkinter/guido/sortvisu.py.orig Mon Feb 21 10:46:39 2011 |
|
1194 +++ Python-2.6.4/Demo/tkinter/guido/sortvisu.py Mon Feb 21 10:46:39 2011 |
|
1195 @@ -1,4 +1,4 @@ |
|
1196 -#! /usr/bin/env python |
|
1197 +#!/usr/bin/python2.6 |
|
1198 |
|
1199 """Sorting algorithms visualizer using Tkinter. |
|
1200 |
|
1201 diff -u Python-2.6.4/Demo/tkinter/guido/dialog.py.orig Python-2.6.4/Demo/tkinter/guido/dialog.py |
|
1202 --- Python-2.6.4/Demo/tkinter/guido/dialog.py.orig Mon Feb 21 10:46:39 2011 |
|
1203 +++ Python-2.6.4/Demo/tkinter/guido/dialog.py Mon Feb 21 10:46:39 2011 |
|
1204 @@ -1,4 +1,4 @@ |
|
1205 -#! /usr/bin/env python |
|
1206 +#!/usr/bin/python2.6 |
|
1207 |
|
1208 # A Python function that generates dialog boxes with a text message, |
|
1209 # optional bitmap, and any number of buttons. |
|
1210 diff -u Python-2.6.4/Demo/tkinter/guido/electrons.py.orig Python-2.6.4/Demo/tkinter/guido/electrons.py |
|
1211 --- Python-2.6.4/Demo/tkinter/guido/electrons.py.orig Mon Feb 21 10:46:39 2011 |
|
1212 +++ Python-2.6.4/Demo/tkinter/guido/electrons.py Mon Feb 21 10:46:39 2011 |
|
1213 @@ -1,4 +1,4 @@ |
|
1214 -#! /usr/bin/env python |
|
1215 +#!/usr/bin/python2.6 |
|
1216 |
|
1217 # Simulate "electrons" migrating across the screen. |
|
1218 # An optional bitmap file in can be in the background. |
|
1219 diff -u Python-2.6.4/Demo/tkinter/guido/newmenubardemo.py.orig Python-2.6.4/Demo/tkinter/guido/newmenubardemo.py |
|
1220 --- Python-2.6.4/Demo/tkinter/guido/newmenubardemo.py.orig Mon Feb 21 10:46:39 2011 |
|
1221 +++ Python-2.6.4/Demo/tkinter/guido/newmenubardemo.py Mon Feb 21 10:46:39 2011 |
|
1222 @@ -1,4 +1,4 @@ |
|
1223 -#! /usr/bin/env python |
|
1224 +#!/usr/bin/python2.6 |
|
1225 |
|
1226 """Play with the new Tk 8.0 toplevel menu option.""" |
|
1227 |
|
1228 diff -u Python-2.6.4/Demo/tkinter/guido/canvasevents.py.orig Python-2.6.4/Demo/tkinter/guido/canvasevents.py |
|
1229 --- Python-2.6.4/Demo/tkinter/guido/canvasevents.py.orig Mon Feb 21 10:46:39 2011 |
|
1230 +++ Python-2.6.4/Demo/tkinter/guido/canvasevents.py Mon Feb 21 10:46:39 2011 |
|
1231 @@ -1,4 +1,4 @@ |
|
1232 -#! /usr/bin/env python |
|
1233 +#!/usr/bin/python2.6 |
|
1234 |
|
1235 from Tkinter import * |
|
1236 from Canvas import Oval, Group, CanvasText |
|
1237 diff -u Python-2.6.4/Demo/tkinter/guido/tkman.py.orig Python-2.6.4/Demo/tkinter/guido/tkman.py |
|
1238 --- Python-2.6.4/Demo/tkinter/guido/tkman.py.orig Mon Feb 21 10:46:39 2011 |
|
1239 +++ Python-2.6.4/Demo/tkinter/guido/tkman.py Mon Feb 21 10:46:39 2011 |
|
1240 @@ -1,4 +1,4 @@ |
|
1241 -#! /usr/bin/env python |
|
1242 +#!/usr/bin/python2.6 |
|
1243 |
|
1244 # Tk man page browser -- currently only shows the Tcl/Tk man pages |
|
1245 |
|
1246 diff -u Python-2.6.4/Demo/tkinter/guido/solitaire.py.orig Python-2.6.4/Demo/tkinter/guido/solitaire.py |
|
1247 --- Python-2.6.4/Demo/tkinter/guido/solitaire.py.orig Mon Feb 21 10:46:39 2011 |
|
1248 +++ Python-2.6.4/Demo/tkinter/guido/solitaire.py Mon Feb 21 10:46:39 2011 |
|
1249 @@ -1,4 +1,4 @@ |
|
1250 -#! /usr/bin/env python |
|
1251 +#!/usr/bin/python2.6 |
|
1252 |
|
1253 """Solitaire game, much like the one that comes with MS Windows. |
|
1254 |
|
1255 diff -u Python-2.6.4/Demo/tkinter/guido/kill.py.orig Python-2.6.4/Demo/tkinter/guido/kill.py |
|
1256 --- Python-2.6.4/Demo/tkinter/guido/kill.py.orig Mon Feb 21 10:46:39 2011 |
|
1257 +++ Python-2.6.4/Demo/tkinter/guido/kill.py Mon Feb 21 10:46:39 2011 |
|
1258 @@ -1,4 +1,4 @@ |
|
1259 -#! /usr/bin/env python |
|
1260 +#!/usr/bin/python2.6 |
|
1261 # Tkinter interface to Linux `kill' command. |
|
1262 |
|
1263 from Tkinter import * |
|
1264 diff -u Python-2.6.4/Demo/tkinter/guido/MimeViewer.py.orig Python-2.6.4/Demo/tkinter/guido/MimeViewer.py |
|
1265 --- Python-2.6.4/Demo/tkinter/guido/MimeViewer.py.orig Mon Feb 21 10:46:39 2011 |
|
1266 +++ Python-2.6.4/Demo/tkinter/guido/MimeViewer.py Mon Feb 21 10:46:39 2011 |
|
1267 @@ -1,4 +1,4 @@ |
|
1268 -#! /usr/bin/env python |
|
1269 +#!/usr/bin/python2.6 |
|
1270 |
|
1271 # View a single MIME multipart message. |
|
1272 # Display each part as a box. |
|
1273 diff -u Python-2.6.4/Demo/tkinter/guido/mbox.py.orig Python-2.6.4/Demo/tkinter/guido/mbox.py |
|
1274 --- Python-2.6.4/Demo/tkinter/guido/mbox.py.orig Mon Feb 21 10:46:39 2011 |
|
1275 +++ Python-2.6.4/Demo/tkinter/guido/mbox.py Mon Feb 21 10:46:39 2011 |
|
1276 @@ -1,4 +1,4 @@ |
|
1277 -#! /usr/bin/env python |
|
1278 +#!/usr/bin/python2.6 |
|
1279 |
|
1280 # Scan MH folder, display results in window |
|
1281 |
|
1282 diff -u Python-2.6.4/Demo/tkinter/guido/rmt.py.orig Python-2.6.4/Demo/tkinter/guido/rmt.py |
|
1283 --- Python-2.6.4/Demo/tkinter/guido/rmt.py.orig Mon Feb 21 10:46:39 2011 |
|
1284 +++ Python-2.6.4/Demo/tkinter/guido/rmt.py Mon Feb 21 10:46:39 2011 |
|
1285 @@ -1,4 +1,4 @@ |
|
1286 -#! /usr/bin/env python |
|
1287 +#!/usr/bin/python2.6 |
|
1288 |
|
1289 # A Python program implementing rmt, an application for remotely |
|
1290 # controlling other Tk applications. |
|
1291 diff -u Python-2.6.4/Demo/tkinter/guido/svkill.py.orig Python-2.6.4/Demo/tkinter/guido/svkill.py |
|
1292 --- Python-2.6.4/Demo/tkinter/guido/svkill.py.orig Mon Feb 21 10:46:39 2011 |
|
1293 +++ Python-2.6.4/Demo/tkinter/guido/svkill.py Mon Feb 21 10:46:39 2011 |
|
1294 @@ -1,4 +1,4 @@ |
|
1295 -#! /usr/bin/env python |
|
1296 +#!/usr/bin/python2.6 |
|
1297 |
|
1298 # Tkinter interface to SYSV `ps' and `kill' commands. |
|
1299 |
|
1300 diff -u Python-2.6.4/Demo/pdist/rrcs.py.orig Python-2.6.4/Demo/pdist/rrcs.py |
|
1301 --- Python-2.6.4/Demo/pdist/rrcs.py.orig Mon Feb 21 10:46:40 2011 |
|
1302 +++ Python-2.6.4/Demo/pdist/rrcs.py Mon Feb 21 10:46:40 2011 |
|
1303 @@ -1,4 +1,4 @@ |
|
1304 -#! /usr/bin/env python |
|
1305 +#!/usr/bin/python2.6 |
|
1306 |
|
1307 "Remote RCS -- command line interface" |
|
1308 |
|
1309 diff -u Python-2.6.4/Demo/pdist/rcvs.py.orig Python-2.6.4/Demo/pdist/rcvs.py |
|
1310 --- Python-2.6.4/Demo/pdist/rcvs.py.orig Mon Feb 21 10:46:40 2011 |
|
1311 +++ Python-2.6.4/Demo/pdist/rcvs.py Mon Feb 21 10:46:40 2011 |
|
1312 @@ -1,4 +1,4 @@ |
|
1313 -#! /usr/bin/env python |
|
1314 +#!/usr/bin/python2.6 |
|
1315 |
|
1316 """Remote CVS -- command line interface""" |
|
1317 |
|
1318 diff -u Python-2.6.4/Demo/pdist/RCSProxy.py.orig Python-2.6.4/Demo/pdist/RCSProxy.py |
|
1319 --- Python-2.6.4/Demo/pdist/RCSProxy.py.orig Mon Feb 21 10:46:40 2011 |
|
1320 +++ Python-2.6.4/Demo/pdist/RCSProxy.py Mon Feb 21 10:46:40 2011 |
|
1321 @@ -1,4 +1,4 @@ |
|
1322 -#! /usr/bin/env python |
|
1323 +#!/usr/bin/python2.6 |
|
1324 |
|
1325 """RCS Proxy. |
|
1326 |
|
1327 diff -u Python-2.6.4/Demo/pdist/makechangelog.py.orig Python-2.6.4/Demo/pdist/makechangelog.py |
|
1328 --- Python-2.6.4/Demo/pdist/makechangelog.py.orig Mon Feb 21 10:46:40 2011 |
|
1329 +++ Python-2.6.4/Demo/pdist/makechangelog.py Mon Feb 21 10:46:40 2011 |
|
1330 @@ -1,4 +1,4 @@ |
|
1331 -#! /usr/bin/env python |
|
1332 +#!/usr/bin/python2.6 |
|
1333 |
|
1334 """Turn a pile of RCS log output into ChangeLog file entries. |
|
1335 |
|
1336 diff -u Python-2.6.4/Demo/zlib/zlibdemo.py.orig Python-2.6.4/Demo/zlib/zlibdemo.py |
|
1337 --- Python-2.6.4/Demo/zlib/zlibdemo.py.orig Mon Feb 21 10:46:40 2011 |
|
1338 +++ Python-2.6.4/Demo/zlib/zlibdemo.py Mon Feb 21 10:46:40 2011 |
|
1339 @@ -1,4 +1,4 @@ |
|
1340 -#!/usr/bin/env python |
|
1341 +#!/usr/bin/python2.6 |
|
1342 |
|
1343 # Takes an optional filename, defaulting to this file itself. |
|
1344 # Reads the file and compresses the content using level 1 and level 9 |
|
1345 diff -u Python-2.6.4/Demo/zlib/minigzip.py.orig Python-2.6.4/Demo/zlib/minigzip.py |
|
1346 --- Python-2.6.4/Demo/zlib/minigzip.py.orig Mon Feb 21 10:46:40 2011 |
|
1347 +++ Python-2.6.4/Demo/zlib/minigzip.py Mon Feb 21 10:46:40 2011 |
|
1348 @@ -1,4 +1,4 @@ |
|
1349 -#!/usr/bin/env python |
|
1350 +#!/usr/bin/python2.6 |
|
1351 # Demo program for zlib; it compresses or decompresses files, but *doesn't* |
|
1352 # delete the original. This doesn't support all of gzip's options. |
|
1353 # |
|
1354 diff -u Python-2.6.4/Demo/curses/life.py.orig Python-2.6.4/Demo/curses/life.py |
|
1355 --- Python-2.6.4/Demo/curses/life.py.orig Mon Feb 21 10:46:40 2011 |
|
1356 +++ Python-2.6.4/Demo/curses/life.py Mon Feb 21 10:46:40 2011 |
|
1357 @@ -1,4 +1,4 @@ |
|
1358 -#!/usr/bin/env python |
|
1359 +#!/usr/bin/python2.6 |
|
1360 # life.py -- A curses-based version of Conway's Game of Life. |
|
1361 # Contributed by AMK |
|
1362 # |
|
1363 diff -u Python-2.6.4/Demo/curses/rain.py.orig Python-2.6.4/Demo/curses/rain.py |
|
1364 --- Python-2.6.4/Demo/curses/rain.py.orig Mon Feb 21 10:46:40 2011 |
|
1365 +++ Python-2.6.4/Demo/curses/rain.py Mon Feb 21 10:46:40 2011 |
|
1366 @@ -1,4 +1,4 @@ |
|
1367 -#!/usr/bin/env python |
|
1368 +#!/usr/bin/python2.6 |
|
1369 # |
|
1370 # $Id: rain.py 46625 2006-06-03 23:02:15Z andrew.kuchling $ |
|
1371 # |
|
1372 diff -u Python-2.6.4/Demo/curses/repeat.py.orig Python-2.6.4/Demo/curses/repeat.py |
|
1373 --- Python-2.6.4/Demo/curses/repeat.py.orig Mon Feb 21 10:46:40 2011 |
|
1374 +++ Python-2.6.4/Demo/curses/repeat.py Mon Feb 21 10:46:40 2011 |
|
1375 @@ -1,4 +1,4 @@ |
|
1376 -#! /usr/bin/env python |
|
1377 +#!/usr/bin/python2.6 |
|
1378 |
|
1379 """repeat <shell-command> |
|
1380 |
|
1381 diff -u Python-2.6.4/Demo/curses/ncurses.py.orig Python-2.6.4/Demo/curses/ncurses.py |
|
1382 --- Python-2.6.4/Demo/curses/ncurses.py.orig Mon Feb 21 10:46:40 2011 |
|
1383 +++ Python-2.6.4/Demo/curses/ncurses.py Mon Feb 21 10:46:40 2011 |
|
1384 @@ -1,4 +1,4 @@ |
|
1385 -#!/usr/bin/env python |
|
1386 +#!/usr/bin/python2.6 |
|
1387 # |
|
1388 # $Id: ncurses.py 66424 2008-09-13 01:22:08Z andrew.kuchling $ |
|
1389 # |
|
1390 diff -u Python-2.6.4/Demo/curses/tclock.py.orig Python-2.6.4/Demo/curses/tclock.py |
|
1391 --- Python-2.6.4/Demo/curses/tclock.py.orig Mon Feb 21 10:46:40 2011 |
|
1392 +++ Python-2.6.4/Demo/curses/tclock.py Mon Feb 21 10:46:40 2011 |
|
1393 @@ -1,4 +1,4 @@ |
|
1394 -#!/usr/bin/env python |
|
1395 +#!/usr/bin/python2.6 |
|
1396 # |
|
1397 # $Id: tclock.py 46626 2006-06-03 23:07:21Z andrew.kuchling $ |
|
1398 # |
|
1399 diff -u Python-2.6.4/Demo/parser/test_parser.py.orig Python-2.6.4/Demo/parser/test_parser.py |
|
1400 --- Python-2.6.4/Demo/parser/test_parser.py.orig Mon Feb 21 10:46:40 2011 |
|
1401 +++ Python-2.6.4/Demo/parser/test_parser.py Mon Feb 21 10:46:40 2011 |
|
1402 @@ -1,4 +1,4 @@ |
|
1403 -#! /usr/bin/env python |
|
1404 +#!/usr/bin/python2.6 |
|
1405 # (Force the script to use the latest build.) |
|
1406 # |
|
1407 # test_parser.py |
|
1408 diff -u Python-2.6.4/Demo/sockets/gopher.py.orig Python-2.6.4/Demo/sockets/gopher.py |
|
1409 --- Python-2.6.4/Demo/sockets/gopher.py.orig Mon Feb 21 10:46:40 2011 |
|
1410 +++ Python-2.6.4/Demo/sockets/gopher.py Mon Feb 21 10:46:40 2011 |
|
1411 @@ -1,4 +1,4 @@ |
|
1412 -#! /usr/bin/env python |
|
1413 +#!/usr/bin/python2.6 |
|
1414 |
|
1415 # A simple gopher client. |
|
1416 # |
|
1417 diff -u Python-2.6.4/Demo/sockets/throughput.py.orig Python-2.6.4/Demo/sockets/throughput.py |
|
1418 --- Python-2.6.4/Demo/sockets/throughput.py.orig Mon Feb 21 10:46:40 2011 |
|
1419 +++ Python-2.6.4/Demo/sockets/throughput.py Mon Feb 21 10:46:40 2011 |
|
1420 @@ -1,4 +1,4 @@ |
|
1421 -#! /usr/bin/env python |
|
1422 +#!/usr/bin/python2.6 |
|
1423 |
|
1424 # Test network throughput. |
|
1425 # |
|
1426 diff -u Python-2.6.4/Demo/sockets/rpython.py.orig Python-2.6.4/Demo/sockets/rpython.py |
|
1427 --- Python-2.6.4/Demo/sockets/rpython.py.orig Mon Feb 21 10:46:40 2011 |
|
1428 +++ Python-2.6.4/Demo/sockets/rpython.py Mon Feb 21 10:46:40 2011 |
|
1429 @@ -1,4 +1,4 @@ |
|
1430 -#! /usr/bin/env python |
|
1431 +#!/usr/bin/python2.6 |
|
1432 |
|
1433 # Remote python client. |
|
1434 # Execute Python commands remotely and send output back. |
|
1435 diff -u Python-2.6.4/Demo/sockets/echosvr.py.orig Python-2.6.4/Demo/sockets/echosvr.py |
|
1436 --- Python-2.6.4/Demo/sockets/echosvr.py.orig Mon Feb 21 10:46:40 2011 |
|
1437 +++ Python-2.6.4/Demo/sockets/echosvr.py Mon Feb 21 10:46:40 2011 |
|
1438 @@ -1,4 +1,4 @@ |
|
1439 -#! /usr/bin/env python |
|
1440 +#!/usr/bin/python2.6 |
|
1441 |
|
1442 # Python implementation of an 'echo' tcp server: echo all data it receives. |
|
1443 # |
|
1444 diff -u Python-2.6.4/Demo/sockets/telnet.py.orig Python-2.6.4/Demo/sockets/telnet.py |
|
1445 --- Python-2.6.4/Demo/sockets/telnet.py.orig Mon Feb 21 10:46:40 2011 |
|
1446 +++ Python-2.6.4/Demo/sockets/telnet.py Mon Feb 21 10:46:40 2011 |
|
1447 @@ -1,4 +1,4 @@ |
|
1448 -#! /usr/bin/env python |
|
1449 +#!/usr/bin/python2.6 |
|
1450 |
|
1451 # Minimal interface to the Internet telnet protocol. |
|
1452 # |
|
1453 diff -u Python-2.6.4/Demo/sockets/finger.py.orig Python-2.6.4/Demo/sockets/finger.py |
|
1454 --- Python-2.6.4/Demo/sockets/finger.py.orig Mon Feb 21 10:46:40 2011 |
|
1455 +++ Python-2.6.4/Demo/sockets/finger.py Mon Feb 21 10:46:40 2011 |
|
1456 @@ -1,4 +1,4 @@ |
|
1457 -#! /usr/bin/env python |
|
1458 +#!/usr/bin/python2.6 |
|
1459 |
|
1460 # Python interface to the Internet finger daemon. |
|
1461 # |
|
1462 diff -u Python-2.6.4/Demo/sockets/udpecho.py.orig Python-2.6.4/Demo/sockets/udpecho.py |
|
1463 --- Python-2.6.4/Demo/sockets/udpecho.py.orig Mon Feb 21 10:46:40 2011 |
|
1464 +++ Python-2.6.4/Demo/sockets/udpecho.py Mon Feb 21 10:46:40 2011 |
|
1465 @@ -1,4 +1,4 @@ |
|
1466 -#! /usr/bin/env python |
|
1467 +#!/usr/bin/python2.6 |
|
1468 |
|
1469 # Client and server for udp (datagram) echo. |
|
1470 # |
|
1471 diff -u Python-2.6.4/Demo/sockets/rpythond.py.orig Python-2.6.4/Demo/sockets/rpythond.py |
|
1472 --- Python-2.6.4/Demo/sockets/rpythond.py.orig Mon Feb 21 10:46:40 2011 |
|
1473 +++ Python-2.6.4/Demo/sockets/rpythond.py Mon Feb 21 10:46:40 2011 |
|
1474 @@ -1,4 +1,4 @@ |
|
1475 -#! /usr/bin/env python |
|
1476 +#!/usr/bin/python2.6 |
|
1477 |
|
1478 # Remote python server. |
|
1479 # Execute Python commands remotely and send output back. |
|
1480 diff -u Python-2.6.4/Tools/ssl/get-remote-certificate.py.orig Python-2.6.4/Tools/ssl/get-remote-certificate.py |
|
1481 --- Python-2.6.4/Tools/ssl/get-remote-certificate.py.orig Mon Feb 21 10:46:41 2011 |
|
1482 +++ Python-2.6.4/Tools/ssl/get-remote-certificate.py Mon Feb 21 10:46:41 2011 |
|
1483 @@ -1,4 +1,4 @@ |
|
1484 -#!/usr/bin/env python |
|
1485 +#!/usr/bin/python2.6 |
|
1486 # |
|
1487 # fetch the certificate that the server(s) are providing in PEM form |
|
1488 # |
|
1489 diff -u Python-2.6.4/Tools/compiler/demo.py.orig Python-2.6.4/Tools/compiler/demo.py |
|
1490 --- Python-2.6.4/Tools/compiler/demo.py.orig Mon Feb 21 10:46:41 2011 |
|
1491 +++ Python-2.6.4/Tools/compiler/demo.py Mon Feb 21 10:46:41 2011 |
|
1492 @@ -1,4 +1,4 @@ |
|
1493 -#! /usr/bin/env python |
|
1494 +#!/usr/bin/python2.6 |
|
1495 |
|
1496 """Print names of all methods defined in module |
|
1497 |
|
1498 diff -u Python-2.6.4/Tools/compiler/dumppyc.py.orig Python-2.6.4/Tools/compiler/dumppyc.py |
|
1499 --- Python-2.6.4/Tools/compiler/dumppyc.py.orig Mon Feb 21 10:46:41 2011 |
|
1500 +++ Python-2.6.4/Tools/compiler/dumppyc.py Mon Feb 21 10:46:41 2011 |
|
1501 @@ -1,4 +1,4 @@ |
|
1502 -#! /usr/bin/env python |
|
1503 +#!/usr/bin/python2.6 |
|
1504 |
|
1505 import marshal |
|
1506 import dis |
|
1507 diff -u Python-2.6.4/Tools/webchecker/wsgui.py.orig Python-2.6.4/Tools/webchecker/wsgui.py |
|
1508 --- Python-2.6.4/Tools/webchecker/wsgui.py.orig Mon Feb 21 10:46:41 2011 |
|
1509 +++ Python-2.6.4/Tools/webchecker/wsgui.py Mon Feb 21 10:46:41 2011 |
|
1510 @@ -1,4 +1,4 @@ |
|
1511 -#! /usr/bin/env python |
|
1512 +#!/usr/bin/python2.6 |
|
1513 |
|
1514 """Tkinter-based GUI for websucker. |
|
1515 |
|
1516 diff -u Python-2.6.4/Tools/webchecker/webchecker.py.orig Python-2.6.4/Tools/webchecker/webchecker.py |
|
1517 --- Python-2.6.4/Tools/webchecker/webchecker.py.orig Mon Feb 21 10:46:41 2011 |
|
1518 +++ Python-2.6.4/Tools/webchecker/webchecker.py Mon Feb 21 10:46:41 2011 |
|
1519 @@ -1,4 +1,4 @@ |
|
1520 -#! /usr/bin/env python |
|
1521 +#!/usr/bin/python2.6 |
|
1522 |
|
1523 # Original code by Guido van Rossum; extensive changes by Sam Bayer, |
|
1524 # including code to check URL fragments. |
|
1525 diff -u Python-2.6.4/Tools/webchecker/websucker.py.orig Python-2.6.4/Tools/webchecker/websucker.py |
|
1526 --- Python-2.6.4/Tools/webchecker/websucker.py.orig Mon Feb 21 10:46:41 2011 |
|
1527 +++ Python-2.6.4/Tools/webchecker/websucker.py Mon Feb 21 10:46:41 2011 |
|
1528 @@ -1,4 +1,4 @@ |
|
1529 -#! /usr/bin/env python |
|
1530 +#!/usr/bin/python2.6 |
|
1531 |
|
1532 """A variant on webchecker that creates a mirror copy of a remote site.""" |
|
1533 |
|
1534 diff -u Python-2.6.4/Tools/webchecker/wcgui.py.orig Python-2.6.4/Tools/webchecker/wcgui.py |
|
1535 --- Python-2.6.4/Tools/webchecker/wcgui.py.orig Mon Feb 21 10:46:41 2011 |
|
1536 +++ Python-2.6.4/Tools/webchecker/wcgui.py Mon Feb 21 10:46:41 2011 |
|
1537 @@ -1,4 +1,4 @@ |
|
1538 -#! /usr/bin/env python |
|
1539 +#!/usr/bin/python2.6 |
|
1540 |
|
1541 """GUI interface to webchecker. |
|
1542 |
|
1543 diff -u Python-2.6.4/Tools/faqwiz/faqw.py.orig Python-2.6.4/Tools/faqwiz/faqw.py |
|
1544 --- Python-2.6.4/Tools/faqwiz/faqw.py.orig Mon Feb 21 10:46:41 2011 |
|
1545 +++ Python-2.6.4/Tools/faqwiz/faqw.py Mon Feb 21 10:46:41 2011 |
|
1546 @@ -1,4 +1,4 @@ |
|
1547 -#! /usr/local/bin/python |
|
1548 +#!/usr/bin/python2.6 |
|
1549 |
|
1550 """FAQ wizard bootstrap.""" |
|
1551 |
|
1552 diff -u Python-2.6.4/Tools/unicode/comparecodecs.py.orig Python-2.6.4/Tools/unicode/comparecodecs.py |
|
1553 --- Python-2.6.4/Tools/unicode/comparecodecs.py.orig Mon Feb 21 10:46:41 2011 |
|
1554 +++ Python-2.6.4/Tools/unicode/comparecodecs.py Mon Feb 21 10:46:41 2011 |
|
1555 @@ -1,4 +1,4 @@ |
|
1556 -#!/usr/bin/env python |
|
1557 +#!/usr/bin/python2.6 |
|
1558 |
|
1559 """ Compare the output of two codecs. |
|
1560 |
|
1561 diff -u Python-2.6.4/Tools/i18n/msgfmt.py.orig Python-2.6.4/Tools/i18n/msgfmt.py |
|
1562 --- Python-2.6.4/Tools/i18n/msgfmt.py.orig Mon Feb 21 10:46:41 2011 |
|
1563 +++ Python-2.6.4/Tools/i18n/msgfmt.py Mon Feb 21 10:46:41 2011 |
|
1564 @@ -1,4 +1,4 @@ |
|
1565 -#! /usr/bin/env python |
|
1566 +#!/usr/bin/python2.6 |
|
1567 # -*- coding: iso-8859-1 -*- |
|
1568 # Written by Martin v. Löwis <[email protected]> |
|
1569 |
|
1570 diff -u Python-2.6.4/Tools/i18n/makelocalealias.py.orig Python-2.6.4/Tools/i18n/makelocalealias.py |
|
1571 --- Python-2.6.4/Tools/i18n/makelocalealias.py.orig Mon Feb 21 10:46:41 2011 |
|
1572 +++ Python-2.6.4/Tools/i18n/makelocalealias.py Mon Feb 21 10:46:41 2011 |
|
1573 @@ -1,4 +1,4 @@ |
|
1574 -#!/usr/bin/env python |
|
1575 +#!/usr/bin/python2.6 |
|
1576 """ |
|
1577 Convert the X11 locale.alias file into a mapping dictionary suitable |
|
1578 for locale.py. |
|
1579 diff -u Python-2.6.4/Tools/i18n/pygettext.py.orig Python-2.6.4/Tools/i18n/pygettext.py |
|
1580 --- Python-2.6.4/Tools/i18n/pygettext.py.orig Mon Feb 21 10:46:41 2011 |
|
1581 +++ Python-2.6.4/Tools/i18n/pygettext.py Mon Feb 21 10:46:41 2011 |
|
1582 @@ -1,4 +1,4 @@ |
|
1583 -#! /usr/bin/env python |
|
1584 +#!/usr/bin/python2.6 |
|
1585 # -*- coding: iso-8859-1 -*- |
|
1586 # Originally written by Barry Warsaw <[email protected]> |
|
1587 # |
|
1588 diff -u Python-2.6.4/Tools/freeze/freeze.py.orig Python-2.6.4/Tools/freeze/freeze.py |
|
1589 --- Python-2.6.4/Tools/freeze/freeze.py.orig Mon Feb 21 10:46:42 2011 |
|
1590 +++ Python-2.6.4/Tools/freeze/freeze.py Mon Feb 21 10:46:42 2011 |
|
1591 @@ -1,4 +1,4 @@ |
|
1592 -#! /usr/bin/env python |
|
1593 +#!/usr/bin/python2.6 |
|
1594 |
|
1595 """Freeze a Python script into a binary. |
|
1596 |
|
1597 diff -u Python-2.6.4/Tools/modulator/Tkextra.py.orig Python-2.6.4/Tools/modulator/Tkextra.py |
|
1598 --- Python-2.6.4/Tools/modulator/Tkextra.py.orig Mon Feb 21 10:46:42 2011 |
|
1599 +++ Python-2.6.4/Tools/modulator/Tkextra.py Mon Feb 21 10:46:42 2011 |
|
1600 @@ -1,4 +1,4 @@ |
|
1601 -#! /usr/bin/env python |
|
1602 +#!/usr/bin/python2.6 |
|
1603 |
|
1604 # A Python function that generates dialog boxes with a text message, |
|
1605 # optional bitmap, and any number of buttons. |
|
1606 diff -u Python-2.6.4/Tools/modulator/modulator.py.orig Python-2.6.4/Tools/modulator/modulator.py |
|
1607 --- Python-2.6.4/Tools/modulator/modulator.py.orig Mon Feb 21 10:46:42 2011 |
|
1608 +++ Python-2.6.4/Tools/modulator/modulator.py Mon Feb 21 10:46:42 2011 |
|
1609 @@ -1,4 +1,4 @@ |
|
1610 -#! /usr/bin/env python |
|
1611 +#!/usr/bin/python2.6 |
|
1612 # |
|
1613 # Modulator - Generate skeleton modules. |
|
1614 # |
|
1615 diff -u Python-2.6.4/Tools/pybench/pybench.py.orig Python-2.6.4/Tools/pybench/pybench.py |
|
1616 --- Python-2.6.4/Tools/pybench/pybench.py.orig Mon Feb 21 10:46:42 2011 |
|
1617 +++ Python-2.6.4/Tools/pybench/pybench.py Mon Feb 21 10:46:42 2011 |
|
1618 @@ -1,4 +1,4 @@ |
|
1619 -#!/usr/local/bin/python -O |
|
1620 +#!/usr/bin/python2.6 |
|
1621 |
|
1622 """ A Python Benchmark Suite |
|
1623 |
|
1624 diff -u Python-2.6.4/Tools/pybench/Setup.py.orig Python-2.6.4/Tools/pybench/Setup.py |
|
1625 --- Python-2.6.4/Tools/pybench/Setup.py.orig Mon Feb 21 10:46:42 2011 |
|
1626 +++ Python-2.6.4/Tools/pybench/Setup.py Mon Feb 21 10:46:42 2011 |
|
1627 @@ -1,4 +1,4 @@ |
|
1628 -#!python |
|
1629 +#!/usr/bin/python2.6 |
|
1630 |
|
1631 # Setup file for pybench |
|
1632 # |
|
1633 diff -u Python-2.6.4/Tools/pybench/clockres.py.orig Python-2.6.4/Tools/pybench/clockres.py |
|
1634 --- Python-2.6.4/Tools/pybench/clockres.py.orig Mon Feb 21 10:46:42 2011 |
|
1635 +++ Python-2.6.4/Tools/pybench/clockres.py Mon Feb 21 10:46:42 2011 |
|
1636 @@ -1,4 +1,4 @@ |
|
1637 -#!/usr/bin/env python |
|
1638 +#!/usr/bin/python2.6 |
|
1639 |
|
1640 """ clockres - calculates the resolution in seconds of a given timer. |
|
1641 |
|
1642 diff -u Python-2.6.4/Tools/pybench/systimes.py.orig Python-2.6.4/Tools/pybench/systimes.py |
|
1643 --- Python-2.6.4/Tools/pybench/systimes.py.orig Mon Feb 21 10:46:42 2011 |
|
1644 +++ Python-2.6.4/Tools/pybench/systimes.py Mon Feb 21 10:46:42 2011 |
|
1645 @@ -1,4 +1,4 @@ |
|
1646 -#!/usr/bin/env python |
|
1647 +#!/usr/bin/python2.6 |
|
1648 |
|
1649 """ systimes() user and system timer implementations for use by |
|
1650 pybench. |
|
1651 diff -u Python-2.6.4/Tools/scripts/fixheader.py.orig Python-2.6.4/Tools/scripts/fixheader.py |
|
1652 --- Python-2.6.4/Tools/scripts/fixheader.py.orig Mon Feb 21 10:46:42 2011 |
|
1653 +++ Python-2.6.4/Tools/scripts/fixheader.py Mon Feb 21 10:46:42 2011 |
|
1654 @@ -1,4 +1,4 @@ |
|
1655 -#! /usr/bin/env python |
|
1656 +#!/usr/bin/python2.6 |
|
1657 |
|
1658 # Add some standard cpp magic to a header file |
|
1659 |
|
1660 diff -u Python-2.6.4/Tools/scripts/fixdiv.py.orig Python-2.6.4/Tools/scripts/fixdiv.py |
|
1661 --- Python-2.6.4/Tools/scripts/fixdiv.py.orig Mon Feb 21 10:46:42 2011 |
|
1662 +++ Python-2.6.4/Tools/scripts/fixdiv.py Mon Feb 21 10:46:42 2011 |
|
1663 @@ -1,4 +1,4 @@ |
|
1664 -#! /usr/bin/env python |
|
1665 +#!/usr/bin/python2.6 |
|
1666 |
|
1667 """fixdiv - tool to fix division operators. |
|
1668 |
|
1669 diff -u Python-2.6.4/Tools/scripts/which.py.orig Python-2.6.4/Tools/scripts/which.py |
|
1670 --- Python-2.6.4/Tools/scripts/which.py.orig Mon Feb 21 10:46:42 2011 |
|
1671 +++ Python-2.6.4/Tools/scripts/which.py Mon Feb 21 10:46:42 2011 |
|
1672 @@ -1,4 +1,4 @@ |
|
1673 -#! /usr/bin/env python |
|
1674 +#!/usr/bin/python2.6 |
|
1675 |
|
1676 # Variant of "which". |
|
1677 # On stderr, near and total misses are reported. |
|
1678 diff -u Python-2.6.4/Tools/scripts/suff.py.orig Python-2.6.4/Tools/scripts/suff.py |
|
1679 --- Python-2.6.4/Tools/scripts/suff.py.orig Mon Feb 21 10:46:42 2011 |
|
1680 +++ Python-2.6.4/Tools/scripts/suff.py Mon Feb 21 10:46:42 2011 |
|
1681 @@ -1,4 +1,4 @@ |
|
1682 -#! /usr/bin/env python |
|
1683 +#!/usr/bin/python2.6 |
|
1684 |
|
1685 # suff |
|
1686 # |
|
1687 diff -u Python-2.6.4/Tools/scripts/pysource.py.orig Python-2.6.4/Tools/scripts/pysource.py |
|
1688 --- Python-2.6.4/Tools/scripts/pysource.py.orig Mon Feb 21 10:46:42 2011 |
|
1689 +++ Python-2.6.4/Tools/scripts/pysource.py Mon Feb 21 10:46:42 2011 |
|
1690 @@ -1,4 +1,4 @@ |
|
1691 -#!/usr/bin/env python |
|
1692 +#!/usr/bin/python2.6 |
|
1693 |
|
1694 """\ |
|
1695 List python source files. |
|
1696 diff -u Python-2.6.4/Tools/scripts/lll.py.orig Python-2.6.4/Tools/scripts/lll.py |
|
1697 --- Python-2.6.4/Tools/scripts/lll.py.orig Mon Feb 21 10:46:42 2011 |
|
1698 +++ Python-2.6.4/Tools/scripts/lll.py Mon Feb 21 10:46:42 2011 |
|
1699 @@ -1,4 +1,4 @@ |
|
1700 -#! /usr/bin/env python |
|
1701 +#!/usr/bin/python2.6 |
|
1702 |
|
1703 # Find symbolic links and show where they point to. |
|
1704 # Arguments are directories to search; default is current directory. |
|
1705 diff -u Python-2.6.4/Tools/scripts/pickle2db.py.orig Python-2.6.4/Tools/scripts/pickle2db.py |
|
1706 --- Python-2.6.4/Tools/scripts/pickle2db.py.orig Mon Feb 21 10:46:42 2011 |
|
1707 +++ Python-2.6.4/Tools/scripts/pickle2db.py Mon Feb 21 10:46:42 2011 |
|
1708 @@ -1,4 +1,4 @@ |
|
1709 -#!/usr/bin/env python |
|
1710 +#!/usr/bin/python2.6 |
|
1711 |
|
1712 """ |
|
1713 Synopsis: %(prog)s [-h|-b|-g|-r|-a|-d] [ picklefile ] dbfile |
|
1714 diff -u Python-2.6.4/Tools/scripts/texi2html.py.orig Python-2.6.4/Tools/scripts/texi2html.py |
|
1715 --- Python-2.6.4/Tools/scripts/texi2html.py.orig Mon Feb 21 10:46:42 2011 |
|
1716 +++ Python-2.6.4/Tools/scripts/texi2html.py Mon Feb 21 10:46:42 2011 |
|
1717 @@ -1,4 +1,4 @@ |
|
1718 -#! /usr/bin/env python |
|
1719 +#!/usr/bin/python2.6 |
|
1720 |
|
1721 # Convert GNU texinfo files into HTML, one file per node. |
|
1722 # Based on Texinfo 2.14. |
|
1723 diff -u Python-2.6.4/Tools/scripts/mkreal.py.orig Python-2.6.4/Tools/scripts/mkreal.py |
|
1724 --- Python-2.6.4/Tools/scripts/mkreal.py.orig Mon Feb 21 10:46:42 2011 |
|
1725 +++ Python-2.6.4/Tools/scripts/mkreal.py Mon Feb 21 10:46:42 2011 |
|
1726 @@ -1,4 +1,4 @@ |
|
1727 -#! /usr/bin/env python |
|
1728 +#!/usr/bin/python2.6 |
|
1729 |
|
1730 # mkreal |
|
1731 # |
|
1732 diff -u Python-2.6.4/Tools/scripts/ftpmirror.py.orig Python-2.6.4/Tools/scripts/ftpmirror.py |
|
1733 --- Python-2.6.4/Tools/scripts/ftpmirror.py.orig Mon Feb 21 10:46:42 2011 |
|
1734 +++ Python-2.6.4/Tools/scripts/ftpmirror.py Mon Feb 21 10:46:42 2011 |
|
1735 @@ -1,4 +1,4 @@ |
|
1736 -#! /usr/bin/env python |
|
1737 +#!/usr/bin/python2.6 |
|
1738 |
|
1739 """Mirror a remote ftp subtree into a local directory tree. |
|
1740 |
|
1741 diff -u Python-2.6.4/Tools/scripts/lfcr.py.orig Python-2.6.4/Tools/scripts/lfcr.py |
|
1742 --- Python-2.6.4/Tools/scripts/lfcr.py.orig Mon Feb 21 10:46:42 2011 |
|
1743 +++ Python-2.6.4/Tools/scripts/lfcr.py Mon Feb 21 10:46:42 2011 |
|
1744 @@ -1,4 +1,4 @@ |
|
1745 -#! /usr/bin/env python |
|
1746 +#!/usr/bin/python2.6 |
|
1747 |
|
1748 "Replace LF with CRLF in argument files. Print names of changed files." |
|
1749 |
|
1750 diff -u Python-2.6.4/Tools/scripts/ptags.py.orig Python-2.6.4/Tools/scripts/ptags.py |
|
1751 --- Python-2.6.4/Tools/scripts/ptags.py.orig Mon Feb 21 10:46:42 2011 |
|
1752 +++ Python-2.6.4/Tools/scripts/ptags.py Mon Feb 21 10:46:42 2011 |
|
1753 @@ -1,4 +1,4 @@ |
|
1754 -#! /usr/bin/env python |
|
1755 +#!/usr/bin/python2.6 |
|
1756 |
|
1757 # ptags |
|
1758 # |
|
1759 diff -u Python-2.6.4/Tools/scripts/copytime.py.orig Python-2.6.4/Tools/scripts/copytime.py |
|
1760 --- Python-2.6.4/Tools/scripts/copytime.py.orig Mon Feb 21 10:46:42 2011 |
|
1761 +++ Python-2.6.4/Tools/scripts/copytime.py Mon Feb 21 10:46:42 2011 |
|
1762 @@ -1,4 +1,4 @@ |
|
1763 -#! /usr/bin/env python |
|
1764 +#!/usr/bin/python2.6 |
|
1765 |
|
1766 # Copy one file's atime and mtime to another |
|
1767 |
|
1768 diff -u Python-2.6.4/Tools/scripts/finddiv.py.orig Python-2.6.4/Tools/scripts/finddiv.py |
|
1769 --- Python-2.6.4/Tools/scripts/finddiv.py.orig Mon Feb 21 10:46:42 2011 |
|
1770 +++ Python-2.6.4/Tools/scripts/finddiv.py Mon Feb 21 10:46:42 2011 |
|
1771 @@ -1,4 +1,4 @@ |
|
1772 -#! /usr/bin/env python |
|
1773 +#!/usr/bin/python2.6 |
|
1774 |
|
1775 """finddiv - a grep-like tool that looks for division operators. |
|
1776 |
|
1777 diff -u Python-2.6.4/Tools/scripts/combinerefs.py.orig Python-2.6.4/Tools/scripts/combinerefs.py |
|
1778 --- Python-2.6.4/Tools/scripts/combinerefs.py.orig Mon Feb 21 10:46:42 2011 |
|
1779 +++ Python-2.6.4/Tools/scripts/combinerefs.py Mon Feb 21 10:46:42 2011 |
|
1780 @@ -1,4 +1,4 @@ |
|
1781 -#! /usr/bin/env python |
|
1782 +#!/usr/bin/python2.6 |
|
1783 |
|
1784 """ |
|
1785 combinerefs path |
|
1786 diff -u Python-2.6.4/Tools/scripts/cvsfiles.py.orig Python-2.6.4/Tools/scripts/cvsfiles.py |
|
1787 --- Python-2.6.4/Tools/scripts/cvsfiles.py.orig Mon Feb 21 10:46:42 2011 |
|
1788 +++ Python-2.6.4/Tools/scripts/cvsfiles.py Mon Feb 21 10:46:42 2011 |
|
1789 @@ -1,4 +1,4 @@ |
|
1790 -#! /usr/bin/env python |
|
1791 +#!/usr/bin/python2.6 |
|
1792 |
|
1793 """Print a list of files that are mentioned in CVS directories. |
|
1794 |
|
1795 diff -u Python-2.6.4/Tools/scripts/reindent.py.orig Python-2.6.4/Tools/scripts/reindent.py |
|
1796 --- Python-2.6.4/Tools/scripts/reindent.py.orig Mon Feb 21 10:46:42 2011 |
|
1797 +++ Python-2.6.4/Tools/scripts/reindent.py Mon Feb 21 10:46:42 2011 |
|
1798 @@ -1,4 +1,4 @@ |
|
1799 -#! /usr/bin/env python |
|
1800 +#!/usr/bin/python2.6 |
|
1801 |
|
1802 # Released to the public domain, by Tim Peters, 03 October 2000. |
|
1803 |
|
1804 diff -u Python-2.6.4/Tools/scripts/checkpyc.py.orig Python-2.6.4/Tools/scripts/checkpyc.py |
|
1805 --- Python-2.6.4/Tools/scripts/checkpyc.py.orig Mon Feb 21 10:46:42 2011 |
|
1806 +++ Python-2.6.4/Tools/scripts/checkpyc.py Mon Feb 21 10:46:42 2011 |
|
1807 @@ -1,4 +1,4 @@ |
|
1808 -#! /usr/bin/env python |
|
1809 +#!/usr/bin/python2.6 |
|
1810 # Check that all ".pyc" files exist and are up-to-date |
|
1811 # Uses module 'os' |
|
1812 |
|
1813 diff -u Python-2.6.4/Tools/scripts/fixps.py.orig Python-2.6.4/Tools/scripts/fixps.py |
|
1814 --- Python-2.6.4/Tools/scripts/fixps.py.orig Mon Feb 21 10:46:42 2011 |
|
1815 +++ Python-2.6.4/Tools/scripts/fixps.py Mon Feb 21 10:46:42 2011 |
|
1816 @@ -1,4 +1,4 @@ |
|
1817 -#!/usr/bin/env python |
|
1818 +#!/usr/bin/python2.6 |
|
1819 |
|
1820 # Fix Python script(s) to reference the interpreter via /usr/bin/env python. |
|
1821 # Warning: this overwrites the file without making a backup. |
|
1822 diff -u Python-2.6.4/Tools/scripts/crlf.py.orig Python-2.6.4/Tools/scripts/crlf.py |
|
1823 --- Python-2.6.4/Tools/scripts/crlf.py.orig Mon Feb 21 10:46:42 2011 |
|
1824 +++ Python-2.6.4/Tools/scripts/crlf.py Mon Feb 21 10:46:42 2011 |
|
1825 @@ -1,4 +1,4 @@ |
|
1826 -#! /usr/bin/env python |
|
1827 +#!/usr/bin/python2.6 |
|
1828 "Replace CRLF with LF in argument files. Print names of changed files." |
|
1829 |
|
1830 import sys, os |
|
1831 diff -u Python-2.6.4/Tools/scripts/methfix.py.orig Python-2.6.4/Tools/scripts/methfix.py |
|
1832 --- Python-2.6.4/Tools/scripts/methfix.py.orig Mon Feb 21 10:46:42 2011 |
|
1833 +++ Python-2.6.4/Tools/scripts/methfix.py Mon Feb 21 10:46:42 2011 |
|
1834 @@ -1,4 +1,4 @@ |
|
1835 -#! /usr/bin/env python |
|
1836 +#!/usr/bin/python2.6 |
|
1837 |
|
1838 # Fix Python source files to avoid using |
|
1839 # def method(self, (arg1, ..., argn)): |
|
1840 diff -u Python-2.6.4/Tools/scripts/classfix.py.orig Python-2.6.4/Tools/scripts/classfix.py |
|
1841 --- Python-2.6.4/Tools/scripts/classfix.py.orig Mon Feb 21 10:46:42 2011 |
|
1842 +++ Python-2.6.4/Tools/scripts/classfix.py Mon Feb 21 10:46:42 2011 |
|
1843 @@ -1,4 +1,4 @@ |
|
1844 -#! /usr/bin/env python |
|
1845 +#!/usr/bin/python2.6 |
|
1846 |
|
1847 # This script is obsolete -- it is kept for historical purposes only. |
|
1848 # |
|
1849 diff -u Python-2.6.4/Tools/scripts/xxci.py.orig Python-2.6.4/Tools/scripts/xxci.py |
|
1850 --- Python-2.6.4/Tools/scripts/xxci.py.orig Mon Feb 21 10:46:42 2011 |
|
1851 +++ Python-2.6.4/Tools/scripts/xxci.py Mon Feb 21 10:46:42 2011 |
|
1852 @@ -1,4 +1,4 @@ |
|
1853 -#! /usr/bin/env python |
|
1854 +#!/usr/bin/python2.6 |
|
1855 |
|
1856 # xxci |
|
1857 # |
|
1858 diff -u Python-2.6.4/Tools/scripts/findnocoding.py.orig Python-2.6.4/Tools/scripts/findnocoding.py |
|
1859 --- Python-2.6.4/Tools/scripts/findnocoding.py.orig Mon Feb 21 10:46:42 2011 |
|
1860 +++ Python-2.6.4/Tools/scripts/findnocoding.py Mon Feb 21 10:46:42 2011 |
|
1861 @@ -1,4 +1,4 @@ |
|
1862 -#!/usr/bin/env python |
|
1863 +#!/usr/bin/python2.6 |
|
1864 |
|
1865 """List all those Python files that require a coding directive |
|
1866 |
|
1867 diff -u Python-2.6.4/Tools/scripts/fixnotice.py.orig Python-2.6.4/Tools/scripts/fixnotice.py |
|
1868 --- Python-2.6.4/Tools/scripts/fixnotice.py.orig Mon Feb 21 10:46:42 2011 |
|
1869 +++ Python-2.6.4/Tools/scripts/fixnotice.py Mon Feb 21 10:46:42 2011 |
|
1870 @@ -1,4 +1,4 @@ |
|
1871 -#! /usr/bin/env python |
|
1872 +#!/usr/bin/python2.6 |
|
1873 |
|
1874 """(Ostensibly) fix copyright notices in files. |
|
1875 |
|
1876 diff -u Python-2.6.4/Tools/scripts/eptags.py.orig Python-2.6.4/Tools/scripts/eptags.py |
|
1877 --- Python-2.6.4/Tools/scripts/eptags.py.orig Mon Feb 21 10:46:42 2011 |
|
1878 +++ Python-2.6.4/Tools/scripts/eptags.py Mon Feb 21 10:46:42 2011 |
|
1879 @@ -1,4 +1,4 @@ |
|
1880 -#! /usr/bin/env python |
|
1881 +#!/usr/bin/python2.6 |
|
1882 """Create a TAGS file for Python programs, usable with GNU Emacs. |
|
1883 |
|
1884 usage: eptags pyfiles... |
|
1885 diff -u Python-2.6.4/Tools/scripts/linktree.py.orig Python-2.6.4/Tools/scripts/linktree.py |
|
1886 --- Python-2.6.4/Tools/scripts/linktree.py.orig Mon Feb 21 10:46:42 2011 |
|
1887 +++ Python-2.6.4/Tools/scripts/linktree.py Mon Feb 21 10:46:42 2011 |
|
1888 @@ -1,4 +1,4 @@ |
|
1889 -#! /usr/bin/env python |
|
1890 +#!/usr/bin/python2.6 |
|
1891 |
|
1892 # linktree |
|
1893 # |
|
1894 diff -u Python-2.6.4/Tools/scripts/checkappend.py.orig Python-2.6.4/Tools/scripts/checkappend.py |
|
1895 --- Python-2.6.4/Tools/scripts/checkappend.py.orig Mon Feb 21 10:46:42 2011 |
|
1896 +++ Python-2.6.4/Tools/scripts/checkappend.py Mon Feb 21 10:46:42 2011 |
|
1897 @@ -1,4 +1,4 @@ |
|
1898 -#! /usr/bin/env python |
|
1899 +#!/usr/bin/python2.6 |
|
1900 |
|
1901 # Released to the public domain, by Tim Peters, 28 February 2000. |
|
1902 |
|
1903 diff -u Python-2.6.4/Tools/scripts/pindent.py.orig Python-2.6.4/Tools/scripts/pindent.py |
|
1904 --- Python-2.6.4/Tools/scripts/pindent.py.orig Mon Feb 21 10:46:42 2011 |
|
1905 +++ Python-2.6.4/Tools/scripts/pindent.py Mon Feb 21 10:46:42 2011 |
|
1906 @@ -1,4 +1,4 @@ |
|
1907 -#! /usr/bin/env python |
|
1908 +#!/usr/bin/python2.6 |
|
1909 |
|
1910 # This file contains a class and a main program that perform three |
|
1911 # related (though complimentary) formatting operations on Python |
|
1912 diff -u Python-2.6.4/Tools/scripts/google.py.orig Python-2.6.4/Tools/scripts/google.py |
|
1913 --- Python-2.6.4/Tools/scripts/google.py.orig Mon Feb 21 10:46:42 2011 |
|
1914 +++ Python-2.6.4/Tools/scripts/google.py Mon Feb 21 10:46:42 2011 |
|
1915 @@ -1,4 +1,4 @@ |
|
1916 -#! /usr/bin/env python |
|
1917 +#!/usr/bin/python2.6 |
|
1918 |
|
1919 import sys, webbrowser |
|
1920 |
|
1921 diff -u Python-2.6.4/Tools/scripts/nm2def.py.orig Python-2.6.4/Tools/scripts/nm2def.py |
|
1922 --- Python-2.6.4/Tools/scripts/nm2def.py.orig Mon Feb 21 10:46:42 2011 |
|
1923 +++ Python-2.6.4/Tools/scripts/nm2def.py Mon Feb 21 10:46:42 2011 |
|
1924 @@ -1,4 +1,4 @@ |
|
1925 -#! /usr/bin/env python |
|
1926 +#!/usr/bin/python2.6 |
|
1927 """nm2def.py |
|
1928 |
|
1929 Helpers to extract symbols from Unix libs and auto-generate |
|
1930 diff -u Python-2.6.4/Tools/scripts/md5sum.py.orig Python-2.6.4/Tools/scripts/md5sum.py |
|
1931 --- Python-2.6.4/Tools/scripts/md5sum.py.orig Mon Feb 21 10:46:42 2011 |
|
1932 +++ Python-2.6.4/Tools/scripts/md5sum.py Mon Feb 21 10:46:42 2011 |
|
1933 @@ -1,4 +1,4 @@ |
|
1934 -#! /usr/bin/env python |
|
1935 +#!/usr/bin/python2.6 |
|
1936 |
|
1937 """Python utility to print MD5 checksums of argument files. |
|
1938 """ |
|
1939 diff -u Python-2.6.4/Tools/scripts/logmerge.py.orig Python-2.6.4/Tools/scripts/logmerge.py |
|
1940 --- Python-2.6.4/Tools/scripts/logmerge.py.orig Mon Feb 21 10:46:42 2011 |
|
1941 +++ Python-2.6.4/Tools/scripts/logmerge.py Mon Feb 21 10:46:42 2011 |
|
1942 @@ -1,4 +1,4 @@ |
|
1943 -#! /usr/bin/env python |
|
1944 +#!/usr/bin/python2.6 |
|
1945 |
|
1946 """Consolidate a bunch of CVS or RCS logs read from stdin. |
|
1947 |
|
1948 diff -u Python-2.6.4/Tools/scripts/svneol.py.orig Python-2.6.4/Tools/scripts/svneol.py |
|
1949 --- Python-2.6.4/Tools/scripts/svneol.py.orig Mon Feb 21 10:46:42 2011 |
|
1950 +++ Python-2.6.4/Tools/scripts/svneol.py Mon Feb 21 10:46:42 2011 |
|
1951 @@ -1,4 +1,4 @@ |
|
1952 -#! /usr/bin/env python |
|
1953 +#!/usr/bin/python2.6 |
|
1954 |
|
1955 """ |
|
1956 SVN helper script. |
|
1957 diff -u Python-2.6.4/Tools/scripts/rgrep.py.orig Python-2.6.4/Tools/scripts/rgrep.py |
|
1958 --- Python-2.6.4/Tools/scripts/rgrep.py.orig Mon Feb 21 10:46:42 2011 |
|
1959 +++ Python-2.6.4/Tools/scripts/rgrep.py Mon Feb 21 10:46:42 2011 |
|
1960 @@ -1,4 +1,4 @@ |
|
1961 -#! /usr/bin/env python |
|
1962 +#!/usr/bin/python2.6 |
|
1963 |
|
1964 """Reverse grep. |
|
1965 |
|
1966 diff -u Python-2.6.4/Tools/scripts/h2py.py.orig Python-2.6.4/Tools/scripts/h2py.py |
|
1967 --- Python-2.6.4/Tools/scripts/h2py.py.orig Mon Feb 21 10:46:42 2011 |
|
1968 +++ Python-2.6.4/Tools/scripts/h2py.py Mon Feb 21 10:46:42 2011 |
|
1969 @@ -1,4 +1,4 @@ |
|
1970 -#! /usr/bin/env python |
|
1971 +#!/usr/bin/python2.6 |
|
1972 |
|
1973 # Read #define's and translate to Python code. |
|
1974 # Handle #include statements. |
|
1975 diff -u Python-2.6.4/Tools/scripts/pathfix.py.orig Python-2.6.4/Tools/scripts/pathfix.py |
|
1976 --- Python-2.6.4/Tools/scripts/pathfix.py.orig Mon Feb 21 10:46:42 2011 |
|
1977 +++ Python-2.6.4/Tools/scripts/pathfix.py Mon Feb 21 10:46:42 2011 |
|
1978 @@ -1,4 +1,4 @@ |
|
1979 -#! /usr/bin/env python |
|
1980 +#!/usr/bin/python2.6 |
|
1981 |
|
1982 # Change the #! line occurring in Python scripts. The new interpreter |
|
1983 # pathname must be given with a -i option. |
|
1984 diff -u Python-2.6.4/Tools/scripts/byext.py.orig Python-2.6.4/Tools/scripts/byext.py |
|
1985 --- Python-2.6.4/Tools/scripts/byext.py.orig Mon Feb 21 10:46:42 2011 |
|
1986 +++ Python-2.6.4/Tools/scripts/byext.py Mon Feb 21 10:46:42 2011 |
|
1987 @@ -1,4 +1,4 @@ |
|
1988 -#! /usr/bin/env python |
|
1989 +#!/usr/bin/python2.6 |
|
1990 |
|
1991 """Show file statistics by extension.""" |
|
1992 |
|
1993 diff -u Python-2.6.4/Tools/scripts/ifdef.py.orig Python-2.6.4/Tools/scripts/ifdef.py |
|
1994 --- Python-2.6.4/Tools/scripts/ifdef.py.orig Mon Feb 21 10:46:42 2011 |
|
1995 +++ Python-2.6.4/Tools/scripts/ifdef.py Mon Feb 21 10:46:42 2011 |
|
1996 @@ -1,4 +1,4 @@ |
|
1997 -#! /usr/bin/env python |
|
1998 +#!/usr/bin/python2.6 |
|
1999 |
|
2000 # Selectively preprocess #ifdef / #ifndef statements. |
|
2001 # Usage: |
|
2002 diff -u Python-2.6.4/Tools/scripts/treesync.py.orig Python-2.6.4/Tools/scripts/treesync.py |
|
2003 --- Python-2.6.4/Tools/scripts/treesync.py.orig Mon Feb 21 10:46:42 2011 |
|
2004 +++ Python-2.6.4/Tools/scripts/treesync.py Mon Feb 21 10:46:42 2011 |
|
2005 @@ -1,4 +1,4 @@ |
|
2006 -#! /usr/bin/env python |
|
2007 +#!/usr/bin/python2.6 |
|
2008 |
|
2009 """Script to synchronize two source trees. |
|
2010 |
|
2011 diff -u Python-2.6.4/Tools/scripts/ndiff.py.orig Python-2.6.4/Tools/scripts/ndiff.py |
|
2012 --- Python-2.6.4/Tools/scripts/ndiff.py.orig Mon Feb 21 10:46:42 2011 |
|
2013 +++ Python-2.6.4/Tools/scripts/ndiff.py Mon Feb 21 10:46:42 2011 |
|
2014 @@ -1,4 +1,4 @@ |
|
2015 -#! /usr/bin/env python |
|
2016 +#!/usr/bin/python2.6 |
|
2017 |
|
2018 # Module ndiff version 1.7.0 |
|
2019 # Released to the public domain 08-Dec-2000, |
|
2020 diff -u Python-2.6.4/Tools/scripts/findlinksto.py.orig Python-2.6.4/Tools/scripts/findlinksto.py |
|
2021 --- Python-2.6.4/Tools/scripts/findlinksto.py.orig Mon Feb 21 10:46:42 2011 |
|
2022 +++ Python-2.6.4/Tools/scripts/findlinksto.py Mon Feb 21 10:46:42 2011 |
|
2023 @@ -1,4 +1,4 @@ |
|
2024 -#! /usr/bin/env python |
|
2025 +#!/usr/bin/python2.6 |
|
2026 |
|
2027 # findlinksto |
|
2028 # |
|
2029 diff -u Python-2.6.4/Tools/scripts/objgraph.py.orig Python-2.6.4/Tools/scripts/objgraph.py |
|
2030 --- Python-2.6.4/Tools/scripts/objgraph.py.orig Mon Feb 21 10:46:42 2011 |
|
2031 +++ Python-2.6.4/Tools/scripts/objgraph.py Mon Feb 21 10:46:42 2011 |
|
2032 @@ -1,4 +1,4 @@ |
|
2033 -#! /usr/bin/env python |
|
2034 +#!/usr/bin/python2.6 |
|
2035 |
|
2036 # objgraph |
|
2037 # |
|
2038 diff -u Python-2.6.4/Tools/scripts/untabify.py.orig Python-2.6.4/Tools/scripts/untabify.py |
|
2039 --- Python-2.6.4/Tools/scripts/untabify.py.orig Mon Feb 21 10:46:42 2011 |
|
2040 +++ Python-2.6.4/Tools/scripts/untabify.py Mon Feb 21 10:46:42 2011 |
|
2041 @@ -1,4 +1,4 @@ |
|
2042 -#! /usr/bin/env python |
|
2043 +#!/usr/bin/python2.6 |
|
2044 |
|
2045 "Replace tabs with spaces in argument files. Print names of changed files." |
|
2046 |
|
2047 diff -u Python-2.6.4/Tools/scripts/db2pickle.py.orig Python-2.6.4/Tools/scripts/db2pickle.py |
|
2048 --- Python-2.6.4/Tools/scripts/db2pickle.py.orig Mon Feb 21 10:46:42 2011 |
|
2049 +++ Python-2.6.4/Tools/scripts/db2pickle.py Mon Feb 21 10:46:42 2011 |
|
2050 @@ -1,4 +1,4 @@ |
|
2051 -#!/usr/bin/env python |
|
2052 +#!/usr/bin/python2.6 |
|
2053 |
|
2054 """ |
|
2055 Synopsis: %(prog)s [-h|-g|-b|-r|-a] dbfile [ picklefile ] |
|
2056 diff -u Python-2.6.4/Tools/scripts/parseentities.py.orig Python-2.6.4/Tools/scripts/parseentities.py |
|
2057 --- Python-2.6.4/Tools/scripts/parseentities.py.orig Mon Feb 21 10:46:42 2011 |
|
2058 +++ Python-2.6.4/Tools/scripts/parseentities.py Mon Feb 21 10:46:42 2011 |
|
2059 @@ -1,4 +1,4 @@ |
|
2060 -#!/usr/local/bin/python |
|
2061 +#!/usr/bin/python2.6 |
|
2062 """ Utility for parsing HTML entity definitions available from: |
|
2063 |
|
2064 http://www.w3.org/ as e.g. |
|
2065 diff -u Python-2.6.4/Tools/scripts/dutree.py.orig Python-2.6.4/Tools/scripts/dutree.py |
|
2066 --- Python-2.6.4/Tools/scripts/dutree.py.orig Mon Feb 21 10:46:42 2011 |
|
2067 +++ Python-2.6.4/Tools/scripts/dutree.py Mon Feb 21 10:46:42 2011 |
|
2068 @@ -1,4 +1,4 @@ |
|
2069 -#! /usr/bin/env python |
|
2070 +#!/usr/bin/python2.6 |
|
2071 # Format du output in a tree shape |
|
2072 |
|
2073 import os, sys, errno |
|
2074 diff -u Python-2.6.4/Tools/scripts/pdeps.py.orig Python-2.6.4/Tools/scripts/pdeps.py |
|
2075 --- Python-2.6.4/Tools/scripts/pdeps.py.orig Mon Feb 21 10:46:42 2011 |
|
2076 +++ Python-2.6.4/Tools/scripts/pdeps.py Mon Feb 21 10:46:42 2011 |
|
2077 @@ -1,4 +1,4 @@ |
|
2078 -#! /usr/bin/env python |
|
2079 +#!/usr/bin/python2.6 |
|
2080 |
|
2081 # pdeps |
|
2082 # |
|
2083 diff -u Python-2.6.4/Tools/scripts/cleanfuture.py.orig Python-2.6.4/Tools/scripts/cleanfuture.py |
|
2084 --- Python-2.6.4/Tools/scripts/cleanfuture.py.orig Mon Feb 21 10:46:42 2011 |
|
2085 +++ Python-2.6.4/Tools/scripts/cleanfuture.py Mon Feb 21 10:46:42 2011 |
|
2086 @@ -1,4 +1,4 @@ |
|
2087 -#! /usr/bin/env python |
|
2088 +#!/usr/bin/python2.6 |
|
2089 |
|
2090 """cleanfuture [-d][-r][-v] path ... |
|
2091 |
|
2092 diff -u Python-2.6.4/Tools/scripts/hotshotmain.py.orig Python-2.6.4/Tools/scripts/hotshotmain.py |
|
2093 --- Python-2.6.4/Tools/scripts/hotshotmain.py.orig Mon Feb 21 10:46:42 2011 |
|
2094 +++ Python-2.6.4/Tools/scripts/hotshotmain.py Mon Feb 21 10:46:42 2011 |
|
2095 @@ -1,4 +1,4 @@ |
|
2096 -#!/usr/bin/env python |
|
2097 +#!/usr/bin/python2.6 |
|
2098 # -*- coding: iso-8859-1 -*- |
|
2099 |
|
2100 """ |
|
2101 diff -u Python-2.6.4/Tools/scripts/byteyears.py.orig Python-2.6.4/Tools/scripts/byteyears.py |
|
2102 --- Python-2.6.4/Tools/scripts/byteyears.py.orig Mon Feb 21 10:46:42 2011 |
|
2103 +++ Python-2.6.4/Tools/scripts/byteyears.py Mon Feb 21 10:46:42 2011 |
|
2104 @@ -1,4 +1,4 @@ |
|
2105 -#! /usr/bin/env python |
|
2106 +#!/usr/bin/python2.6 |
|
2107 |
|
2108 # Print the product of age and size of each file, in suitable units. |
|
2109 # |
|
2110 diff -u Python-2.6.4/Tools/scripts/gprof2html.py.orig Python-2.6.4/Tools/scripts/gprof2html.py |
|
2111 --- Python-2.6.4/Tools/scripts/gprof2html.py.orig Mon Feb 21 10:46:42 2011 |
|
2112 +++ Python-2.6.4/Tools/scripts/gprof2html.py Mon Feb 21 10:46:42 2011 |
|
2113 @@ -1,4 +1,4 @@ |
|
2114 -#! /usr/bin/env python2.3 |
|
2115 +#!/usr/bin/python2.6 |
|
2116 |
|
2117 """Transform gprof(1) output into useful HTML.""" |
|
2118 |
|
2119 diff -u Python-2.6.4/Tools/scripts/fixcid.py.orig Python-2.6.4/Tools/scripts/fixcid.py |
|
2120 --- Python-2.6.4/Tools/scripts/fixcid.py.orig Mon Feb 21 10:46:42 2011 |
|
2121 +++ Python-2.6.4/Tools/scripts/fixcid.py Mon Feb 21 10:46:42 2011 |
|
2122 @@ -1,4 +1,4 @@ |
|
2123 -#! /usr/bin/env python |
|
2124 +#!/usr/bin/python2.6 |
|
2125 |
|
2126 # Perform massive identifier substitution on C source files. |
|
2127 # This actually tokenizes the files (to some extent) so it can |
|
2128 diff -u Python-2.6.4/Tools/scripts/reindent-rst.py.orig Python-2.6.4/Tools/scripts/reindent-rst.py |
|
2129 --- Python-2.6.4/Tools/scripts/reindent-rst.py.orig Mon Feb 21 10:46:42 2011 |
|
2130 +++ Python-2.6.4/Tools/scripts/reindent-rst.py Mon Feb 21 10:46:42 2011 |
|
2131 @@ -1,4 +1,4 @@ |
|
2132 -#!/usr/bin/env python |
|
2133 +#!/usr/bin/python2.6 |
|
2134 |
|
2135 # Make a reST file compliant to our pre-commit hook. |
|
2136 # Currently just remove trailing whitespace. |
|
2137 diff -u Python-2.6.4/Mac/BuildScript/build-installer.py.orig Python-2.6.4/Mac/BuildScript/build-installer.py |
|
2138 --- Python-2.6.4/Mac/BuildScript/build-installer.py.orig Mon Feb 21 10:46:43 2011 |
|
2139 +++ Python-2.6.4/Mac/BuildScript/build-installer.py Mon Feb 21 10:46:43 2011 |
|
2140 @@ -1,4 +1,4 @@ |
|
2141 -#!/usr/bin/python |
|
2142 +#!/usr/bin/python2.6 |
|
2143 """ |
|
2144 This script is used to build the "official unofficial" universal build on |
|
2145 Mac OS X. It requires Mac OS X 10.4, Xcode 2.2 and the 10.4u SDK to do its |
|
2146 diff -u Python-2.6.4/Mac/scripts/zappycfiles.py.orig Python-2.6.4/Mac/scripts/zappycfiles.py |
|
2147 --- Python-2.6.4/Mac/scripts/zappycfiles.py.orig Mon Feb 21 10:46:44 2011 |
|
2148 +++ Python-2.6.4/Mac/scripts/zappycfiles.py Mon Feb 21 10:46:44 2011 |
|
2149 @@ -1,4 +1,4 @@ |
|
2150 -#!/usr/local/bin/python |
|
2151 +#!/usr/bin/python2.6 |
|
2152 """Recursively zap all .pyc and .pyo files""" |
|
2153 import os |
|
2154 import sys |
|
2155 diff -u Python-2.6.4/Mac/scripts/buildpkg.py.orig Python-2.6.4/Mac/scripts/buildpkg.py |
|
2156 --- Python-2.6.4/Mac/scripts/buildpkg.py.orig Mon Feb 21 10:46:44 2011 |
|
2157 +++ Python-2.6.4/Mac/scripts/buildpkg.py Mon Feb 21 10:46:44 2011 |
|
2158 @@ -1,4 +1,4 @@ |
|
2159 -#!/usr/bin/env python |
|
2160 +#!/usr/bin/python2.6 |
|
2161 |
|
2162 """buildpkg.py -- Build OS X packages for Apple's Installer.app. |
|
2163 |
|
2164 diff -u Python-2.6.4/Mac/Tools/fixapplepython23.py.orig Python-2.6.4/Mac/Tools/fixapplepython23.py |
|
2165 --- Python-2.6.4/Mac/Tools/fixapplepython23.py.orig Mon Feb 21 10:46:44 2011 |
|
2166 +++ Python-2.6.4/Mac/Tools/fixapplepython23.py Mon Feb 21 10:46:44 2011 |
|
2167 @@ -1,4 +1,4 @@ |
|
2168 -#!/usr/bin/python |
|
2169 +#!/usr/bin/python2.6 |
|
2170 """fixapplepython23 - Fix Apple-installed Python 2.3 (on Mac OS X 10.3) |
|
2171 |
|
2172 Python 2.3 (and 2.3.X for X<5) have the problem that building an extension |
|
2173 diff -u Python-2.6.4/Misc/find_recursionlimit.py.orig Python-2.6.4/Misc/find_recursionlimit.py |
|
2174 --- Python-2.6.4/Misc/find_recursionlimit.py.orig Mon Feb 21 10:46:44 2011 |
|
2175 +++ Python-2.6.4/Misc/find_recursionlimit.py Mon Feb 21 10:46:44 2011 |
|
2176 @@ -1,4 +1,4 @@ |
|
2177 -#! /usr/bin/env python |
|
2178 +#!/usr/bin/python2.6 |
|
2179 """Find the maximum recursion limit that prevents interpreter termination. |
|
2180 |
|
2181 This script finds the maximum safe recursion limit on a particular |
|
2182 diff -u Python-2.6.4/Parser/asdl_c.py.orig Python-2.6.4/Parser/asdl_c.py |
|
2183 --- Python-2.6.4/Parser/asdl_c.py.orig Mon Feb 21 10:46:44 2011 |
|
2184 +++ Python-2.6.4/Parser/asdl_c.py Mon Feb 21 10:46:44 2011 |
|
2185 @@ -1,4 +1,4 @@ |
|
2186 -#! /usr/bin/env python |
|
2187 +#!/usr/bin/python2.6 |
|
2188 """Generate C code from an ASDL description.""" |
|
2189 |
|
2190 # TO DO |
|
2191 diff -u Python-2.6.4/Doc/includes/email-alternative.py.orig Python-2.6.4/Doc/includes/email-alternative.py |
|
2192 --- Python-2.6.4/Doc/includes/email-alternative.py.orig Mon Feb 21 10:46:44 2011 |
|
2193 +++ Python-2.6.4/Doc/includes/email-alternative.py Mon Feb 21 10:46:44 2011 |
|
2194 @@ -1,4 +1,4 @@ |
|
2195 -#! /usr/bin/python |
|
2196 +#!/usr/bin/python2.6 |
|
2197 |
|
2198 import smtplib |
|
2199 |
|
2200 diff -u Python-2.6.4/Doc/includes/email-unpack.py.orig Python-2.6.4/Doc/includes/email-unpack.py |
|
2201 --- Python-2.6.4/Doc/includes/email-unpack.py.orig Mon Feb 21 10:46:44 2011 |
|
2202 +++ Python-2.6.4/Doc/includes/email-unpack.py Mon Feb 21 10:46:44 2011 |
|
2203 @@ -1,4 +1,4 @@ |
|
2204 -#!/usr/bin/env python |
|
2205 +#!/usr/bin/python2.6 |
|
2206 |
|
2207 """Unpack a MIME message into a directory of files.""" |
|
2208 |
|
2209 diff -u Python-2.6.4/Doc/includes/email-dir.py.orig Python-2.6.4/Doc/includes/email-dir.py |
|
2210 --- Python-2.6.4/Doc/includes/email-dir.py.orig Mon Feb 21 10:46:44 2011 |
|
2211 +++ Python-2.6.4/Doc/includes/email-dir.py Mon Feb 21 10:46:44 2011 |
|
2212 @@ -1,4 +1,4 @@ |
|
2213 -#!/usr/bin/env python |
|
2214 +#!/usr/bin/python2.6 |
|
2215 |
|
2216 """Send the contents of a directory as a MIME message.""" |
|
2217 |
|
2218 diff -u Python-2.6.4/Doc/tools/rstlint.py.orig Python-2.6.4/Doc/tools/rstlint.py |
|
2219 --- Python-2.6.4/Doc/tools/rstlint.py.orig Mon Feb 21 10:46:44 2011 |
|
2220 +++ Python-2.6.4/Doc/tools/rstlint.py Mon Feb 21 10:46:44 2011 |
|
2221 @@ -1,4 +1,4 @@ |
|
2222 -#!/usr/bin/env python |
|
2223 +#!/usr/bin/python2.6 |
|
2224 # -*- coding: utf-8 -*- |
|
2225 |
|
2226 # Check for stylistic and formal issues in .rst and .py |
|
2227 --- Python-2.6.8/Lib/lib2to3/tests/data/different_encoding.py.orig 2012-05-11 08:48:22.819694540 -0700 |
|
2228 +++ Python-2.6.8/Lib/lib2to3/tests/data/different_encoding.py 2012-05-11 08:48:38.042397815 -0700 |
|
2229 @@ -1,4 +1,4 @@ |
|
2230 -#!/usr/bin/env python |
|
2231 +#!/usr/bin/python2.6 |
|
2232 # -*- coding: utf-8 -*- |
|
2233 print u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ' |
|
2234 |
|
2235 --- Python-2.6.8/Lib/whichdb.py.orig 2012-05-11 08:51:07.506663732 -0700 |
|
2236 +++ Python-2.6.8/Lib/whichdb.py 2012-05-11 08:51:22.897281496 -0700 |
|
2237 @@ -1,4 +1,4 @@ |
|
2238 -# !/usr/bin/env python |
|
2239 +#!/usr/bin/python2.6 |
|
2240 """Guess which db package to use to open a db file.""" |
|
2241 |
|
2242 import os |
|