cpython/Tools/scripts
Victor Stinner d23b1c4fd8 [3.6] bpo-31221: patchcheck ignores external libraries (#3109) (#3116)
* bpo-31221: patchcheck ignores external libraries (#3109)

Tools/scripts/patchcheck.py now ignores changes in directories which
are copies of external libraries:

* Modules/_ctypes/libffi_msvc/
* Modules/_ctypes/libffi_osx/
* Modules/_decimal/libmpdec/
* Modules/expat/
* Modules/zlib/

Drop also support for Mercurial, since CPython migrated to Git.

Exclude also libmpdec

patchcheck: exclude also libffi_osx and libffi_msvc
(cherry picked from commit 4a347ce426)

* Exclude also Modules/_ctypes/libffi on Python 3.6
2017-08-17 16:53:27 +02:00
..
2to3
README
abitype.py
analyze_dxp.py
byext.py
byteyears.py
checkpip.py
checkpyc.py
cleanfuture.py
combinerefs.py Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
copytime.py
crlf.py
db2pickle.py
diff.py Removed unused imports. 2016-04-25 00:12:32 +03:00
dutree.doc Removed trailing whitespaces in miscalenous files. 2015-04-03 19:42:32 +03:00
dutree.py
eptags.py Issue #16261: Converted some bare except statements to except statements 2015-05-20 10:33:40 +03:00
find-uname.py
find_recursionlimit.py Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
finddiv.py
findlinksto.py
findnocoding.py Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
fixcid.py Issue #27952: Get fixcid.py working with the re module 2016-09-11 09:32:26 +00:00
fixdiv.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
fixheader.py
fixnotice.py
fixps.py
generate_opcode_h.py Remove legacy "from __future__ import with_statement" lines. 2016-09-08 13:47:41 -07:00
get-remote-certificate.py
google.py
gprof2html.py
h2py.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
highlight.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
idle3 Issue #24225: Fix additional renamed module references. 2016-06-03 17:50:44 -07:00
ifdef.py
import_diagnostics.py
lfcr.py
linktree.py
lll.py
mailerdaemon.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
make_ctype.py
md5sum.py
mkreal.py
ndiff.py
nm2def.py Issue #25985: sys.version_info is now used instead of sys.version 2016-02-11 13:10:36 +02:00
objgraph.py
parse_html5_entities.py
parseentities.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
patchcheck.py [3.6] bpo-31221: patchcheck ignores external libraries (#3109) (#3116) 2017-08-17 16:53:27 +02:00
pathfix.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
pdeps.py
pickle2db.py
pindent.py
ptags.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
pydoc3
pysource.py
pyvenv Fix a variable typo by switching to a f-string. 2015-10-26 17:11:04 -07:00
reindent-rst.py
reindent.py [3.6] bpo-30109: Fix reindent.py (GH-1207) (GH-1208) 2017-04-20 07:12:37 -07:00
rgrep.py
run_tests.py
serve.py
suff.py
svneol.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
texi2html.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
treesync.py
untabify.py
which.py
win_add2path.py Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00

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
checkpyc.py               Check presence and validity of ".pyc" files
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
h2py.py                   Translate #define's into Python assignments
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
svneol.py                 Set svn:eol-style on all files in directory
texi2html.py              Convert GNU texinfo files into HTML
treesync.py               Synchronize source trees (very idiosyncratic)
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