You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Mark Shannon 582aaf19e8
bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' (GH-21714)
6 years ago
..
2to3 Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). 16 years ago
README closes bpo-40385: Remove Tools/scripts/checkpyc.py (GH-19709) 6 years ago
abitype.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
analyze_dxp.py Tools/scripts/analyze_dxp.py, a module with some helper functions to 17 years ago
byext.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 9 years ago
byteyears.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
checkpip.py pypi.python.org -> pypi.org (GH-7613) 8 years ago
cleanfuture.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
combinerefs.py bpo-39573: Use the Py_TYPE() macro (GH-21433) 6 years ago
copytime.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
crlf.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
db2pickle.py convert shebang lines: python -> python3 16 years ago
diff.py Removed unused imports. 10 years ago
dutree.doc Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
dutree.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
eptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
find-uname.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
find_recursionlimit.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
finddiv.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
findlinksto.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
findnocoding.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
fixcid.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 7 years ago
fixdiv.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 7 years ago
fixheader.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 7 years ago
fixnotice.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
fixps.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
generate_opcode_h.py bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' (GH-21714) 6 years ago
generate_token.py bpo-40267: Fix message when last input character produces a SyntaxError (GH-19521) 6 years ago
get-remote-certificate.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
google.py Issue #26830: Refactor Tools/scripts/google.py 9 years ago
gprof2html.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 7 years ago
highlight.py #27364: fix "incorrect" uses of escape character in the stdlib. 9 years ago
idle3 Issue #24225: Fix additional renamed module references. 10 years ago
ifdef.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
import_diagnostics.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
lfcr.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
linktree.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
lll.py bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) 7 years ago
mailerdaemon.py #27364: fix "incorrect" uses of escape character in the stdlib. 9 years ago
make_ctype.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
md5sum.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
mkreal.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
ndiff.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
nm2def.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
objgraph.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
parse_html5_entities.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
parseentities.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
patchcheck.py bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760) 7 years ago
pathfix.py bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) 6 years ago
pdeps.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
pep384_macrocheck.py bpo-33738: Fix macros which contradict PEP 384 (GH-7477) 8 years ago
pickle2db.py convert shebang lines: python -> python3 16 years ago
pindent.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
ptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
pydoc3 install idle and pydoc with a 3 suffix #5756 17 years ago
pysource.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
reindent-rst.py Issue #13590: Improve support for OS X Xcode 4: 14 years ago
reindent.py bpo-30109: Fix reindent.py (GH-1207) 9 years ago
rgrep.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 7 years ago
run_tests.py bpo-40939: Remove some extra references to PYTHONOLDPARSER (GH-20815) 6 years ago
serve.py bpo-36345: Update wsgiref example (GH-12562) 7 years ago
smelly.py bpo-31355: Travis-CI: re-enable macOS job (#5858) 8 years ago
suff.py Clean up syntax for some scripts. 16 years ago
texi2html.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 7 years ago
untabify.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago
update_file.py bpo-31536: Avoid wholesale rebuild after `make regen-all` (#3678) 8 years ago
var_access_benchmark.py bpo-35884: Add string-keys-only microbenchmark for dict access to var_access_benchmark.py (GH-11905) 7 years ago
which.py bpo-40094: Fix which.py script exit code (GH-19286) 6 years ago
win_add2path.py Issue #25314: store_true and store_false also create appropriate defaults. 14 years ago

README

This directory contains a collection of executable Python scripts that are
useful while building, extending or managing Python. Some (e.g., dutree or lll)
are also generally useful UNIX tools.

2to3 Main script for running the 2to3 conversion tool
abitype.py Converts a C file to use the PEP 384 type definition API
analyze_dxp.py Analyzes the result of sys.getdxp()
byext.py Print lines/words/chars stats of files by extension
byteyears.py Print product of a file's size and age
cleanfuture.py Fix redundant Python __future__ statements
combinerefs.py A helper for analyzing PYTHONDUMPREFS output
copytime.py Copy one file's atime and mtime to another
crlf.py Change CRLF line endings to LF (Windows to Unix)
db2pickle.py Dump a database file to a pickle
diff.py Print file diffs in context, unified, or ndiff formats
dutree.py Format du(1) output as a tree sorted by size
eptags.py Create Emacs TAGS file for Python modules
finddiv.py A grep-like tool that looks for division operators
findlinksto.py Recursively find symbolic links to a given path prefix
findnocoding.py Find source files which need an encoding declaration
find_recursionlimit.py Find the maximum recursion limit on this machine
find-uname.py Look for the given arguments in the sets of all Unicode names
fixcid.py Massive identifier substitution on C source files
fixdiv.py Tool to fix division operators.
fixheader.py Add some cpp magic to a C include file
fixnotice.py Fix the copyright notice in source files
fixps.py Fix Python scripts' first line (if #!)
ftpmirror.py FTP mirror script
get-remote-certificate.py Fetch the certificate that the server(s) are providing in PEM form
google.py Open a webbrowser with Google
gprof2html.py Transform gprof(1) output into useful HTML
highlight.py Python syntax highlighting with HTML output
idle3 Main program to start IDLE
ifdef.py Remove #if(n)def groups from C sources
import_diagnostics.py Miscellaneous diagnostics for the import system
lfcr.py Change LF line endings to CRLF (Unix to Windows)
linktree.py Make a copy of a tree with links to original files
lll.py Find and list symbolic links in current directory
mailerdaemon.py Parse error messages from mailer daemons (Sjoerd&Jack)
make_ctype.py Generate ctype.h replacement in stringobject.c
md5sum.py Print MD5 checksums of argument files
mkreal.py Turn a symbolic link into a real file or directory
ndiff.py Intelligent diff between text files (Tim Peters)
nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
objgraph.py Print object graph from nm output on a library
parseentities.py Utility for parsing HTML entity definitions
parse_html5_entities.py Utility for parsing HTML5 entity definitions
patchcheck.py Perform common checks and cleanup before committing
pathfix.py Change #!/usr/local/bin/python into something else
pdeps.py Print dependencies between Python modules
pickle2db.py Load a pickle generated by db2pickle.py to a database
pindent.py Indent Python code, giving block-closing comments
ptags.py Create vi tags file for Python modules
pydoc3 Python documentation browser
pysource.py Find Python source files
reindent.py Change .py files to use 4-space indents
reindent-rst.py Fix-up reStructuredText file whitespace
rgrep.py Reverse grep through a file (useful for big logfiles)
run_tests.py Run the test suite with more sensible default options
serve.py Small wsgiref-based web server, used in make serve in Doc
suff.py Sort a list of files by suffix
texi2html.py Convert GNU texinfo files into HTML
untabify.py Replace tabs with spaces in argument files
which.py Find a program in $PATH
win_add2path.py Add Python to the search path on Windows