Mercurial > cpython-lru_cache-weakref
annotate Tools/scripts/README @ 66978:aed2bbafa550 3.1
Blocked revisions 87324 via svnmerge
........
r87324 | r.david.murray | 2010-12-16 14:08:51 -0500 (Thu, 16 Dec 2010) | 9 lines
#10719: restore messages generated on invalid compileall args
Before the introduction of filename arguments to compileall it gave semi useful
messages about not being able to 'list' names that weren't valid directories.
This fix restores that behavior. In addition to the test for this case, the
patch also adds a test for the default behavior of compileall when no arguments
are provided, and fixes a bug in one of the previously added tests.
........
| author | R. David Murray <rdmurray@bitdance.com> |
|---|---|
| date | Thu, 16 Dec 2010 19:10:16 +0000 |
| parents | 029d69659b5f |
| children | c870396b6ae1 |
| rev | line source |
|---|---|
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
1 This directory contains a collection of executable Python scripts that |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
2 are useful while building, extending or managing Python. Some (e.g., |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
3 dutree or lll) are also generally useful UNIX tools. |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
4 |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
5 See also the Demo/scripts directory! |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
6 |
|
51872
3722ce458318
Merged revisions 69811,69947 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
43553
diff
changeset
|
7 analyze_dxp.py Analyzes the result of sys.getdxp() |
| 27009 | 8 byext.py Print lines/words/chars stats of files by extension |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
9 byteyears.py Print product of a file's size and age |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
10 checkappend.py Search for multi-argument .append() calls |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
11 checkpyc.py Check presence and validity of ".pyc" files |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
12 classfix.py Convert old class syntax to new |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
13 cleanfuture.py Fix reduntant Python __future__ statements |
|
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
14 combinerefs.py A helper for analyzing PYTHONDUMPREFS output. |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
15 copytime.py Copy one file's atime and mtime to another |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
16 crlf.py Change CRLF line endings to LF (Windows to Unix) |
|
6035
614118a1348c
Added cvsfiles.py and treesync.py
Guido van Rossum <guido@python.org>
parents:
2761
diff
changeset
|
17 cvsfiles.py Print a list of files that are under CVS |
|
27633
48033017c78f
note db2pickle.py and pickle2db.py
Skip Montanaro <skip@pobox.com>
parents:
27009
diff
changeset
|
18 db2pickle.py Dump a database file to a pickle |
|
29386
cd5ecc5b38eb
Added a command line interface for difflib.py
Raymond Hettinger <python@rcn.com>
parents:
29370
diff
changeset
|
19 diff.py Print file diffs in context, unified, or ndiff formats |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
20 dutree.py Format du(1) output as a tree sorted by size |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
21 eptags.py Create Emacs TAGS file for Python modules |
|
56889
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
22 find_recursionlimit.py Find the maximum recursion limit on this machine |
|
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
23 finddiv.py A grep-like tool that looks for division operators |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
24 findlinksto.py Recursively find symbolic links to a given path prefix |
|
35428
245e8f4cba1d
Add findnocoding.py and pysource.py.
Georg Brandl <georg@python.org>
parents:
31429
diff
changeset
|
25 findnocoding.py Find source files which need an encoding declaration |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
26 fixcid.py Massive identifier substitution on C source files |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
27 fixdiv.py Tool to fix division operators. |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
28 fixheader.py Add some cpp magic to a C include file |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
29 fixnotice.py Fix the copyright notice in source files |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
30 fixps.py Fix Python scripts' first line (if #!) |
|
2761
b40cabfdc91d
added ftp mirror script
Guido van Rossum <guido@python.org>
parents:
2613
diff
changeset
|
31 ftpmirror.py FTP mirror script |
|
56889
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
32 google.py Open a webbrowser with Google |
|
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
33 gprof2html.py Transform gprof(1) output into useful HTML |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
34 h2py.py Translate #define's into Python assignments |
|
29437
179d5452bb9d
Put the main script for the new IDLE here.
Guido van Rossum <guido@python.org>
parents:
29386
diff
changeset
|
35 idle Main program to start IDLE |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
36 ifdef.py Remove #if(n)def groups from C sources |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
37 lfcr.py Change LF line endings to CRLF (Unix to Windows) |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
38 linktree.py Make a copy of a tree with links to original files |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
39 lll.py Find and list symbolic links in current directory |
| 6046 | 40 logmerge.py Consolidate CVS/RCS logs read from stdin |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
41 mailerdaemon.py parse error messages from mailer daemons (Sjoerd&Jack) |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
42 md5sum.py Print MD5 checksums of argument files. |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
43 methfix.py Fix old method syntax def f(self, (a1, ..., aN)): |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
44 mkreal.py Turn a symbolic link into a real file or directory |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
45 ndiff.py Intelligent diff between text files (Tim Peters) |
|
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
46 nm2def.py Create a template for PC/python_nt.def (Marc Lemburg) |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
47 objgraph.py Print object graph from nm output on a library |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
48 parseentities.py Utility for parsing HTML entity definitions |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
49 pathfix.py Change #!/usr/local/bin/python into something else |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
50 pdeps.py Print dependencies between Python modules |
|
27633
48033017c78f
note db2pickle.py and pickle2db.py
Skip Montanaro <skip@pobox.com>
parents:
27009
diff
changeset
|
51 pickle2db.py Load a pickle generated by db2pickle.py to a database |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
52 pindent.py Indent Python code, giving block-closing comments |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
53 ptags.py Create vi tags file for Python modules |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
54 pydoc Python documentation browser. |
|
35428
245e8f4cba1d
Add findnocoding.py and pysource.py.
Georg Brandl <georg@python.org>
parents:
31429
diff
changeset
|
55 pysource.py Find Python source files |
|
39442
654c380cf8b9
Merged revisions 46753-51188 via svnmerge from
Thomas Wouters <thomas@python.org>
parents:
35428
diff
changeset
|
56 redemo.py Basic regular expression demonstration facility |
|
29370
c01edc35ffd6
Patch #748849: Update to current tools and demos.
Martin v. Löwis <martin@v.loewis.de>
parents:
29061
diff
changeset
|
57 reindent.py Change .py files to use 4-space indents. |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
58 rgrep.py Reverse grep through a file (useful for big logfiles) |
|
56889
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
59 setup.py Install all scripts listed here |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
60 suff.py Sort a list of files by suffix |
|
56889
029d69659b5f
Merged revisions 75373 via svnmerge from
Georg Brandl <georg@python.org>
parents:
51872
diff
changeset
|
61 svneol.py Sets svn:eol-style on all files in directory |
|
29061
1babbb4919a7
Added a tool for making a rough check of LaTeX documents.
Raymond Hettinger <python@rcn.com>
parents:
27633
diff
changeset
|
62 texcheck.py Validate Python LaTeX formatting (Raymond Hettinger) |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
63 texi2html.py Convert GNU texinfo files into HTML |
|
6035
614118a1348c
Added cvsfiles.py and treesync.py
Guido van Rossum <guido@python.org>
parents:
2761
diff
changeset
|
64 treesync.py Synchronize source trees (very ideosyncratic) |
|
9295
a1ca085168fc
Added a whole bunch of descriptions.
Guido van Rossum <guido@python.org>
parents:
6321
diff
changeset
|
65 untabify.py Replace tabs with spaces in argument files |
|
2472
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
66 which.py Find a program in $PATH |
|
dd2845d06eb3
moved lots of scripts from Demo/scripts to Tools/scripts
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
67 xxci.py Wrapper for rcsdiff and ci |
