convert shebang lines: python -> python3

This commit is contained in:
Benjamin Peterson 2010-03-11 22:53:45 +00:00
parent e8c1f95090
commit 90f5ba538b
212 changed files with 212 additions and 212 deletions

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Print the product of age and size of each file, in suitable units.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Released to the public domain, by Tim Peters, 28 February 2000.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Check that all ".pyc" files exist and are up-to-date
# Uses module 'os'

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# This script is obsolete -- it is kept for historical purposes only.
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""cleanfuture [-d][-r][-v] path ...

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""
combinerefs path

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Copy one file's atime and mtime to another

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"Replace CRLF with LF in argument files. Print names of changed files."
import sys, os

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Print a list of files that are mentioned in CVS directories.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Synopsis: %(prog)s [-h|-g|-b|-r|-a] dbfile [ picklefile ]

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Format du output in a tree shape
import os, sys, errno

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Create a TAGS file for Python programs, usable with GNU Emacs.
usage: eptags pyfiles...

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Find the maximum recursion limit that prevents interpreter termination.
This script finds the maximum safe recursion limit on a particular

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""finddiv - a grep-like tool that looks for division operators.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# findlinksto
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""List all those Python files that require a coding directive

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Perform massive identifier substitution on C source files.
# This actually tokenizes the files (to some extent) so it can

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""fixdiv - tool to fix division operators.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Add some standard cpp magic to a header file

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""(Ostensibly) fix copyright notices in files.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Fix Python script(s) to reference the interpreter via /usr/bin/env python.
# Warning: this overwrites the file without making a backup.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Mirror a remote ftp subtree into a local directory tree.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
import sys, webbrowser

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python2.3
#! /usr/bin/env python32.3
"""Transform gprof(1) output into useful HTML."""

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Read #define's and translate to Python code.
# Handle #include statements.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Selectively preprocess #ifdef / #ifndef statements.
# Usage:

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"Replace LF with CRLF in argument files. Print names of changed files."

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# linktree
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Find symbolic links and show where they point to.
# Arguments are directories to search; default is current directory.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Consolidate a bunch of CVS or RCS logs read from stdin.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Python utility to print MD5 checksums of argument files.
"""

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Fix Python source files to avoid using
# def method(self, (arg1, ..., argn)):

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# mkreal
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Module ndiff version 1.7.0
# Released to the public domain 08-Dec-2000,

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""nm2def.py
Helpers to extract symbols from Unix libs and auto-generate

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# objgraph
#

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python3
""" Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# pdeps
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Synopsis: %(prog)s [-h|-b|-g|-r|-a|-d] [ picklefile ] dbfile

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# This file contains a class and a main program that perform three
# related (though complimentary) formatting operations on Python

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# ptags
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""\
List python source files.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Make a reST file compliant to our pre-commit hook.
# Currently just remove trailing whitespace.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Released to the public domain, by Tim Peters, 03 October 2000.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Reverse grep.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
'''
Small wsgiref based web server. Takes a path to serve from and an
optional port number (defaults to 8000), then tries to serve files.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# suff
#

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""
SVN helper script.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Convert GNU texinfo files into HTML, one file per node.
# Based on Texinfo 2.14.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Script to synchronize two source trees.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"Replace tabs with spaces in argument files. Print names of changed files."

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# Variant of "which".
# On stderr, near and total misses are reported.

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# xxci
#