cpython/Tools
Mark Shannon 633b6be8f5
GH-148960: Reduce the size of the debug stencils to less than half. (GH-150551)
For AArch64 linux, reduces the total bytes in the code bodies from 489kb to 218kb.
Reduces the size of the stencils files from 394k lines to 167k lines.
2026-06-01 17:56:16 +01:00
..
build gh-140550: Update xxlimited with 3.15 limited API (GH-142827) 2026-05-13 18:35:50 +02:00
buildbot gh-115556: Remove quotes from command-line arguments in test.bat and rt.bat (#115557) 2024-02-16 21:24:56 +01:00
c-analyzer gh-149449: Fix use-after-free in _PyUnicode_GetNameCAPI (#150323) 2026-05-24 16:17:38 +00:00
cases_generator GH-148960: Reduce the size of the debug stencils to less than half. (GH-150551) 2026-06-01 17:56:16 +01:00
check-c-api-docs gh-146636: PEP 803: Reference documentation (GH-148013) 2026-04-16 14:17:44 +02:00
clinic gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) 2026-05-24 16:16:12 +03:00
freeze gh-65701: document that freeze doesn't work with framework builds on macOS (#113352) 2023-12-21 16:28:00 +01:00
ftscalingbench gh-148906: fix performance scaling of descriptors on free-threading (#148915) 2026-05-13 23:03:59 +05:30
gdb gh-141510: Add frozendict support to python-gdb.py (#145511) 2026-03-05 00:57:54 +01:00
i18n gh-138286: Run `ruff on Tools/i18n` (#138287) 2025-08-31 20:29:02 +00:00
importbench gh-58032: Do not use argparse.FileType in module CLIs and scripts (GH-113649) 2024-01-10 15:07:19 +02:00
inspection gh-149584: Fix excessive overhead in the Tachyon profiler regarding the cache behavior (#149649) 2026-05-20 04:32:08 -07:00
jit GH-148960: Reduce the size of the debug stencils to less than half. (GH-150551) 2026-06-01 17:56:16 +01:00
lockbench gh-145230: Update lockbench (gh-145231) 2026-02-27 14:09:05 -05:00
msi gh-149887: Install python3t.lib for GIL-enabled Windows install (GH-149900) 2026-05-18 14:24:06 +01:00
nuget bpo-41744: Package python.props with correct name in NuGet package (GH-22154) 2020-09-14 20:30:15 +01:00
patchcheck Remove `Misc/ACKS` check from patchcheck, documentation (#141960) 2025-11-26 00:00:00 +00:00
peg_generator gh-148690: Build Windows freethreaded binaries into separate directory and include python3t.dll on GIL-enabled (GH-149218) 2026-05-04 17:45:08 +01:00
picklebench gh-115952: Fix a potential virtual memory allocation denial of service in pickle (GH-119204) 2025-12-05 19:17:01 +02:00
pixi-packages gh-148858: Remove duplicated recipe.yaml files in Tools/pixi-packages (#148859) 2026-04-22 20:50:30 +03:00
scripts gh-139198: Remove Tools/scripts/checkpip.py script (GH-139199) 2025-10-30 11:50:16 +01:00
ssl gh-148600: Add OpenSSL 4.0.0 support to test configurations (#149356) 2026-05-04 16:21:04 +03:00
tsan gh-117657: Remove remaining TSan suppressions (gh-143499) 2026-01-07 17:34:05 +00:00
ubsan gh-148390: fix undefined behavior of memoryview(...).cast("?") (#148454) 2026-04-15 11:42:20 +00:00
unicode gh-66802: Add unicodedata.block() function (#145042) 2026-02-21 18:27:55 +01:00
unittestgui Remove a redundant assignment in Tools/unittestgui/unittestgui.py (GH-21438) 2021-05-16 16:55:06 +01:00
wasm gh-145176 Move Emscripten files into Platforms/emscripten (#145806) 2026-03-17 09:39:45 +08:00
README gh-142466: Pixi package definitions for downstream use (#142469) 2025-12-15 15:04:16 +00:00
requirements-dev.txt Update mypy to 2.1.0 (#149709) 2026-05-12 08:40:51 +00:00
requirements-hypothesis.txt build(deps): bump hypothesis from 6.135.26 to 6.151.9 in /Tools (#145948) 2026-03-16 19:07:07 +01:00

This directory contains a number of Python programs that are useful
while building or extending Python.

build           Automatically generated directory by the build system
                contain build artifacts and intermediate files.

buildbot        Batchfiles for running on Windows buildbot workers.

c-analyzer      Tools to check no new global variables have been added.

cases_generator Tooling to generate interpreters.

clinic          A preprocessor for CPython C files in order to automate
                the boilerplate involved with writing argument parsing
                code for "builtins".

freeze          Create a stand-alone executable from a Python program.

ftscalingbench  Benchmarks for free-threading and finding bottlenecks.

gdb             Python code to be run inside gdb, to make it easier to
                debug Python itself (by David Malcolm).

i18n            Tools for internationalization. pygettext.py
                parses Python source code and generates .pot files,
                and msgfmt.py generates a binary message catalog
                from a catalog in text format.

importbench     A set of micro-benchmarks for various import scenarios.

inspection      Tooling for PEP-678 "Safe external debugger interface for CPython".

jit             Tooling for building the JIT.

lockbench       Benchmarks for PyMutex and critical sections.

msi             Support for packaging Python as an MSI package on Windows.

nuget           Files for the NuGet package manager for .NET.

patchcheck      Tools for checking and applying patches to the Python source code
                and verifying the integrity of patch files.

peg_generator   PEG-based parser generator (pegen) used for new parser.

pixi-packages   Pixi package definitions for downstream from-source builds.

scripts         A number of useful single-file programs, e.g. run_tests.py
                which runs the Python test suite.

ssl             Scripts to generate ssl_data.h from OpenSSL sources, and run
                tests against multiple installations of OpenSSL and LibreSSL.

tsan            Utilities for building CPython with thread-sanitizer.

unicode         Tools for generating unicodedata and codecs from unicode.org
                and other mapping files (by Fredrik Lundh, Marc-Andre Lemburg
                and Martin von Loewis).

unittestgui     A Tkinter based GUI test runner for unittest, with test
                discovery.

wasm            Config and helpers to facilitate cross compilation of CPython
                to WebAssembly (WASM).

Note: The pynche color editor has moved to https://gitlab.com/warsaw/pynche