cpython/Tools/scripts
Victor Stinner 002252c4ad
gh-97669: Move difflib examples to Doc/includes/ (#97964)
Remove diff.py and ndiff.py scripts of Tools/scripts/: move them to
Doc/includes/.

* diff.py and ndiff.py files are no longer executable. Remove also
  their shebang ("#!/usr/bin/env python3").
* Remove the -profile command from ndiff.py to simply the code.
* Remove ndiff.py copyright and history command. The Python
  documentation examples are distributed under the "Zero Clause BSD
  License".
2022-10-07 10:57:48 -07:00
..
2to3 gh-93939: Create and install scripts in Makefile (GH-94324) 2022-06-28 14:56:06 +02:00
README gh-97670: Remove sys.getdxp() and analyze_dxp.py script (#97671) 2022-10-04 15:28:57 +02:00
abitype.py Fix some bugs in Tools/scripts/abitype.py. 2013-05-17 10:17:43 +03:00
check_extension_modules.py gh-93939: Build C extensions without setup.py (GH-94474) 2022-07-14 00:51:49 -07:00
checkpip.py pypi.python.org -> pypi.org (GH-7613) 2018-06-11 00:45:50 -04:00
combinerefs.py bpo-39573: Use the Py_TYPE() macro (GH-21433) 2020-07-10 12:40:38 +02:00
deepfreeze.py GH-96458: Statically initialize utf8 representation of static strings (#96481) 2022-09-02 23:43:08 -07:00
eptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
freeze_modules.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
generate_global_objects.py GH-90699: use statically allocated interned strings in typeobject's slotdefs (GH-94706) 2022-09-07 15:02:08 -07:00
generate_levenshtein_examples.py gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
generate_opcode_h.py GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) 2022-07-22 11:04:20 -07:00
generate_re_casefix.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
generate_sre_constants.py gh-91404: Use computed gotos and reduce indirection in re (#91495) 2022-04-15 09:26:44 -07:00
generate_stdlib_module_names.py gh-93939: Build C extensions without setup.py (GH-94474) 2022-07-14 00:51:49 -07:00
generate_token.py gh-92651: Remove the Include/token.h header file (#92652) 2022-05-11 23:22:50 +02:00
gprof2html.py Fix EncodingWarning in test_tools. (GH-28846) 2021-10-10 09:14:40 +02:00
idle3 gh-93939: Create and install scripts in Makefile (GH-94324) 2022-06-28 14:56:06 +02:00
md5sum.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
nm2def.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
parse_html5_entities.py gh-82927: Update files related to HTML entities. (GH-92504) 2022-06-21 22:03:12 +02:00
patchcheck.py CI: Fix patchcheck (GH-31708) 2022-03-14 15:28:57 +02:00
pathfix.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
pep384_macrocheck.py Fix typos in pep384_macrocheck.py (GH-28220) 2021-09-10 22:44:03 +08:00
ptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
pydoc3
reindent.py bpo-30109: Fix reindent.py (GH-1207) 2017-04-19 22:59:20 -07:00
run_tests.py gh-84461: Fix parallel testing on WebAssembly (GH-93768) 2022-06-13 19:51:04 +02:00
smelly.py bpo-45561: Run smelly.py tool from $(srcdir) (GH-29138) 2021-11-23 08:51:02 +01:00
stable_abi.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
startuptime.py bpo-45850: Implement deep-freeze on Windows (#29648) 2021-11-22 10:09:48 -08:00
summarize_stats.py GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168) 2022-06-27 12:24:23 +01:00
umarshal.py GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
untabify.py Use OESeeror instead of os.error (#16720) 2012-12-24 19:58:48 +02:00
update_file.py bpo-45020: Fix some corner cases for frozen module generation. (gh-28538) 2021-09-24 14:35:47 -06:00
var_access_benchmark.py bpo-35884: Add string-keys-only microbenchmark for dict access to var_access_benchmark.py (GH-11905) 2019-03-25 01:20:53 -07:00
verify_ensurepip_wheels.py gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) 2022-06-22 15:32:22 +02:00
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.

2to3                      Main script for running the 2to3 conversion tool
abitype.py                Converts a C file to use the PEP 384 type definition API
combinerefs.py            A helper for analyzing PYTHONDUMPREFS output
diff.py                   Print file diffs in context, unified, or ndiff formats
eptags.py                 Create Emacs TAGS file for Python modules
gprof2html.py             Transform gprof(1) output into useful HTML
idle3                     Main program to start IDLE
md5sum.py                 Print MD5 checksums of argument files
ndiff.py                  Intelligent diff between text files (Tim Peters)
nm2def.py                 Create a template for PC/python_nt.def (Marc Lemburg)
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
ptags.py                  Create vi tags file for Python modules
pydoc3                    Python documentation browser
reindent.py               Change .py files to use 4-space indents
run_tests.py              Run the test suite with more sensible default options
stable_abi.py             Stable ABI checks and file generators.
untabify.py               Replace tabs with spaces in argument files
win_add2path.py           Add Python to the search path on Windows