cpython/Tools
Guido van Rossum 2df58dcd50
gh-106812: Small stack effect fixes (#107759)
- Generalize the syntax for the type of a stack effect to allow a trailing `*`,
  so we can declare something as e.g. `PyCodeObject *`.

- When generating assignments for stack effects,
  the type of the value on the stack should be the default (i.e., `PyObject *`)
  even when the variable copied to/from it has a different type,
  so that an appropriate cast is generated
  However, not when the variable is an array --
  then the type is taken from the variable (as it is always `PyObject **`).
2023-08-07 21:32:42 -07:00
..
build gh-105481: simplify definition of pseudo ops in Lib/opcode.py (#107561) 2023-08-02 18:16:57 +01:00
buildbot
c-analyzer gh-106263: Fix segfault in signaldict_repr in _decimal module (#106270) 2023-07-30 13:58:54 +05:30
cases_generator gh-106812: Small stack effect fixes (#107759) 2023-08-07 21:32:42 -07:00
ccbench
clinic gh-86457: Fix signature for code.replace() (GH-23199) 2023-08-07 23:34:53 +03:00
freeze gh-103186: In test_tools.freeze, fetch CONFIG_ARGS from original source directory (#103213) 2023-07-11 22:22:18 +00:00
gdb GH-100987: Allow objects other than code objects as the "executable" of an internal frame. (GH-105727) 2023-06-14 13:46:37 +01:00
i18n
importbench gh-98040: Fix importbench: use types.ModuleType() (#105743) 2023-06-14 00:32:12 +02:00
iobench
msi gh-104629: Build _testclinic extension module on Windows (#104723) 2023-07-28 18:31:30 +02:00
nuget
patchcheck
peg_generator gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00
scripts Add some GC stats to Py_STATS (GH-107581) 2023-08-04 10:34:23 +01:00
ssl gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (#105174) 2023-06-01 09:42:18 -07:00
stringbench
tz
unicode
unittestgui
wasm wasm: do not use inline comment in .editorconfig (#106610) 2023-07-11 23:55:37 +09:00
README

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.

ccbench         A Python threads-based concurrency benchmark. (*)

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.

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.

iobench         Benchmark for the new Python I/O system. (*)

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.

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.

stringbench     A suite of micro-benchmarks for various operations on
                strings (both 8-bit and unicode). (*)

tz              A script to dump timezone from /usr/share/zoneinfo.

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).

(*) A generic benchmark suite is maintained separately at https://github.com/python/performance

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