diff options
Diffstat (limited to 'Lib')
67 files changed, 67 insertions, 67 deletions
diff --git a/Lib/base64.py b/Lib/base64.py index e708136..a8d9f21 100755 --- a/Lib/base64.py +++ b/Lib/base64.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """RFC 3548: Base16, Base32, Base64 Data Encodings""" diff --git a/Lib/cProfile.py b/Lib/cProfile.py index a7686ed..3e2b2ed 100755 --- a/Lib/cProfile.py +++ b/Lib/cProfile.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Python interface for the 'lsprof' profiler. Compatible with the 'profile' module. diff --git a/Lib/difflib.py b/Lib/difflib.py index 264860e..292bba9 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """ Module difflib -- helpers for computing deltas between objects. diff --git a/Lib/http/cookies.py b/Lib/http/cookies.py index 1051cdd..da30e25 100644 --- a/Lib/http/cookies.py +++ b/Lib/http/cookies.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # #### diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index edc9334..ef82d81 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import os import os.path diff --git a/Lib/keyword.py b/Lib/keyword.py index a7abe2b..a5974b5 100755 --- a/Lib/keyword.py +++ b/Lib/keyword.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Keywords (from "graminit.c") diff --git a/Lib/lib2to3/pgen2/token.py b/Lib/lib2to3/pgen2/token.py index 1c81065..6a6d0b6 100755 --- a/Lib/lib2to3/pgen2/token.py +++ b/Lib/lib2to3/pgen2/token.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Token constants (from "token.h").""" diff --git a/Lib/lib2to3/tests/pytree_idempotency.py b/Lib/lib2to3/tests/pytree_idempotency.py index 414eb4d..a02bbfe 100755 --- a/Lib/lib2to3/tests/pytree_idempotency.py +++ b/Lib/lib2to3/tests/pytree_idempotency.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2006 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 3f299a8..c2c9b5c 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.""" @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """A Python debugger.""" diff --git a/Lib/platform.py b/Lib/platform.py index b6e7596..7d39250 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ This module tries to retrieve as much platform-identifying data as possible. It makes this information available via function APIs. diff --git a/Lib/profile.py b/Lib/profile.py index 4eb86a8..a09fffe 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # # Class for profiling python code. rev 1.0 6/2/94 # diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 79fb54a..4a8017e 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: latin-1 -*- """Generate Python documentation in HTML or text for interactive use. diff --git a/Lib/quopri.py b/Lib/quopri.py index ff27923..3d0f0ac 100755 --- a/Lib/quopri.py +++ b/Lib/quopri.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Conversions to/from quoted-printable transport encoding as per RFC 1521.""" diff --git a/Lib/smtpd.py b/Lib/smtpd.py index 3dc9793..17b7427 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """An RFC 2821 smtp proxy. Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] diff --git a/Lib/smtplib.py b/Lib/smtplib.py index a01a184..69ec9ec 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 '''SMTP/ESMTP client class. diff --git a/Lib/symbol.py b/Lib/symbol.py index ea8f2f5..e3fff34 100755 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Non-terminal symbols of Python grammar (from "graminit.h").""" diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py index 0ae5e9f..2c6fb0c 100755 --- a/Lib/tabnanny.py +++ b/Lib/tabnanny.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """The Tab Nanny despises ambiguous indentation. She knows no mercy. diff --git a/Lib/tarfile.py b/Lib/tarfile.py index e28b1c7..8684493 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 #------------------------------------------------------------------- # tarfile.py #------------------------------------------------------------------- diff --git a/Lib/test/crashers/recursive_call.py b/Lib/test/crashers/recursive_call.py index 31c8963..2d160a7 100644 --- a/Lib/test/crashers/recursive_call.py +++ b/Lib/test/crashers/recursive_call.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # No bug report AFAIK, mail on python-dev on 2006-01-10 diff --git a/Lib/test/curses_tests.py b/Lib/test/curses_tests.py index 7dedbbc..40e832d 100644 --- a/Lib/test/curses_tests.py +++ b/Lib/test/curses_tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # $Id: ncurses.py 36559 2004-07-18 05:56:09Z tim_one $ # diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py index 614551f..aad4d8c 100755 --- a/Lib/test/pystone.py +++ b/Lib/test/pystone.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """ "PYSTONE" Benchmark Program diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index d314e20..5d16e3d 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- mode: python -*- # Re test suite and benchmark suite v1.5 diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 9f631f4..d4f40aa 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Regression test. diff --git a/Lib/test/test___future__.py b/Lib/test/test___future__.py index f41b879..9ae4ce4 100644 --- a/Lib/test/test___future__.py +++ b/Lib/test/test___future__.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import unittest from test import support import __future__ diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 8a3796c..5de562f 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test the arraymodule. Roger E. Masse """ diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 06fd98a..d6ef84a 100755 --- a/Lib/test/test_binhex.py +++ b/Lib/test/test_binhex.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test script for the binhex C module Uses the mechanism of the python binhex module diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 9a9afa6..dbbdad3 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from test import support from test.support import TESTFN diff --git a/Lib/test/test_cmd.py b/Lib/test/test_cmd.py index f102fe0..11602f1 100644 --- a/Lib/test/test_cmd.py +++ b/Lib/test/test_cmd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Test script for the 'cmd' module Original by Michael Schneider diff --git a/Lib/test/test_codecencodings_cn.py b/Lib/test/test_codecencodings_cn.py index 77bac13..a2d9718 100644 --- a/Lib/test/test_codecencodings_cn.py +++ b/Lib/test/test_codecencodings_cn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecencodings_cn.py # Codec encoding tests for PRC encodings. diff --git a/Lib/test/test_codecencodings_hk.py b/Lib/test/test_codecencodings_hk.py index b1deb71..ccdc0b4 100644 --- a/Lib/test/test_codecencodings_hk.py +++ b/Lib/test/test_codecencodings_hk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecencodings_hk.py # Codec encoding tests for HongKong encodings. diff --git a/Lib/test/test_codecencodings_jp.py b/Lib/test/test_codecencodings_jp.py index e2cd7d7..f56a373 100644 --- a/Lib/test/test_codecencodings_jp.py +++ b/Lib/test/test_codecencodings_jp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecencodings_jp.py # Codec encoding tests for Japanese encodings. diff --git a/Lib/test/test_codecencodings_kr.py b/Lib/test/test_codecencodings_kr.py index 34fade9..de4da7f 100644 --- a/Lib/test/test_codecencodings_kr.py +++ b/Lib/test/test_codecencodings_kr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecencodings_kr.py # Codec encoding tests for ROK encodings. diff --git a/Lib/test/test_codecencodings_tw.py b/Lib/test/test_codecencodings_tw.py index 6b840d3..12d3c9f 100644 --- a/Lib/test/test_codecencodings_tw.py +++ b/Lib/test/test_codecencodings_tw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecencodings_tw.py # Codec encoding tests for ROC encodings. diff --git a/Lib/test/test_codecmaps_cn.py b/Lib/test/test_codecmaps_cn.py index 34a910d..063919d 100644 --- a/Lib/test/test_codecmaps_cn.py +++ b/Lib/test/test_codecmaps_cn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecmaps_cn.py # Codec mapping tests for PRC encodings diff --git a/Lib/test/test_codecmaps_hk.py b/Lib/test/test_codecmaps_hk.py index ddb1208..bbe1f2f 100644 --- a/Lib/test/test_codecmaps_hk.py +++ b/Lib/test/test_codecmaps_hk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecmaps_hk.py # Codec mapping tests for HongKong encodings diff --git a/Lib/test/test_codecmaps_jp.py b/Lib/test/test_codecmaps_jp.py index 75db00c..652bd81 100644 --- a/Lib/test/test_codecmaps_jp.py +++ b/Lib/test/test_codecmaps_jp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecmaps_jp.py # Codec mapping tests for Japanese encodings diff --git a/Lib/test/test_codecmaps_kr.py b/Lib/test/test_codecmaps_kr.py index 0da9d1c..d909c8b 100644 --- a/Lib/test/test_codecmaps_kr.py +++ b/Lib/test/test_codecmaps_kr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecmaps_kr.py # Codec mapping tests for ROK encodings diff --git a/Lib/test/test_codecmaps_tw.py b/Lib/test/test_codecmaps_tw.py index e6df3a7..6db5091 100644 --- a/Lib/test/test_codecmaps_tw.py +++ b/Lib/test/test_codecmaps_tw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_codecmaps_tw.py # Codec mapping tests for ROC encodings diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index 78357a0..c1be7d9 100644 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test script for the dbm.open function based on testdumbdbm.py""" import os diff --git a/Lib/test/test_dbm_dumb.py b/Lib/test/test_dbm_dumb.py index 7a1a16e..a05db91 100644 --- a/Lib/test/test_dbm_dumb.py +++ b/Lib/test/test_dbm_dumb.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test script for the dumbdbm module Original by Roger E. Masse """ diff --git a/Lib/test/test_eof.py b/Lib/test/test_eof.py index 4e37560..fb4ac9a 100644 --- a/Lib/test/test_eof.py +++ b/Lib/test/test_eof.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """test script for a few new invalid token catches""" import unittest diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py index 621335c..e7d5ce5 100755 --- a/Lib/test/test_errno.py +++ b/Lib/test/test_errno.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test the errno module Roger E. Masse """ diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index 429ada0..7eade6f 100644 --- a/Lib/test/test_gzip.py +++ b/Lib/test/test_gzip.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Test script for the gzip module. """ diff --git a/Lib/test/test_keywordonlyarg.py b/Lib/test/test_keywordonlyarg.py index b771a6c..6a88b3d 100644 --- a/Lib/test/test_keywordonlyarg.py +++ b/Lib/test/test_keywordonlyarg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Unit tests for the keyword only argument specified in PEP 3102.""" diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index cb6985e..02ac00e 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2001-2010 by Vinay Sajip. All Rights Reserved. # diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index 6688785..9de0165 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from test import support import marshal diff --git a/Lib/test/test_multibytecodec.py b/Lib/test/test_multibytecodec.py index e4e86ff..ce860d7 100644 --- a/Lib/test/test_multibytecodec.py +++ b/Lib/test/test_multibytecodec.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_multibytecodec.py # Unit test for multibytecodec itself diff --git a/Lib/test/test_multibytecodec_support.py b/Lib/test/test_multibytecodec_support.py index 75b3363..70e4d75 100644 --- a/Lib/test/test_multibytecodec_support.py +++ b/Lib/test/test_multibytecodec_support.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # test_multibytecodec_support.py # Common Unittest Routines for CJK codecs diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 7fcbdc32..452e192 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Unit tests for the multiprocessing package diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index 24fb846..da0c04e 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Basic tests for os.popen() Particularly useful for platforms that fake popen. diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py index b64a8f7..c59e4fa 100644 --- a/Lib/test/test_random.py +++ b/Lib/test/test_random.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest import random diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py index 5b1b38c0..6f7f9ef 100644 --- a/Lib/test/test_smtpnet.py +++ b/Lib/test/test_smtpnet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest from test import support diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 4dc34ce..6bff03e 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest from test import support diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index eebdd25..0df1fea 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest import os diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index 965e0f4..c0f20f5 100644 --- a/Lib/test/test_urllib2_localnet.py +++ b/Lib/test/test_urllib2_localnet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import email import threading diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 70b4cfa..b933194 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest from test import support diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 221b698..f324be9 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import unittest from test import support diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 1658411..ca4eaa5 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 from test import support import unittest diff --git a/Lib/test/test_userstring.py b/Lib/test/test_userstring.py index 0538138..7a8b932 100755 --- a/Lib/test/test_userstring.py +++ b/Lib/test/test_userstring.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # UserString is a wrapper around the native builtin string type. # UserString instances should behave similar to builtin string objects. diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 640f31c..74b5f19 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Unit tests for the with statement specified in PEP 343.""" diff --git a/Lib/test/test_xmlrpc_net.py b/Lib/test/test_xmlrpc_net.py index c531b62..493e363 100644 --- a/Lib/test/test_xmlrpc_net.py +++ b/Lib/test/test_xmlrpc_net.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import collections import errno diff --git a/Lib/timeit.py b/Lib/timeit.py index 7b9b72c..63d94ca 100644 --- a/Lib/timeit.py +++ b/Lib/timeit.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Tool for measuring execution time of small code snippets. diff --git a/Lib/token.py b/Lib/token.py index da4d29b3..a48bf3c 100755 --- a/Lib/token.py +++ b/Lib/token.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Token constants (from "token.h").""" diff --git a/Lib/trace.py b/Lib/trace.py index e6316b6..9d91fe8 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # portions copyright 2001, Autonomous Zones Industries, Inc., all rights... # err... reserved and offered to the public under the terms of the @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright 1994 by Lance Ellinghouse # Cathedral City, California Republic, United States of America. diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index aee797d..72ba1ac 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Interfaces for launching and remotely controlling Web browsers.""" # Maintained by Georg Brandl. |