cpython/Tools
Eric Snow 7f3a4b967c
gh-81057: Move PyImport_Inittab to _PyRuntimeState (gh-99402)
We actually don't move PyImport_Inittab.  Instead, we make a copy that we keep on _PyRuntimeState and use only that after Py_Initialize().  We also prevent folks from modifying PyImport_Inittab (the best we can) after that point.

https://github.com/python/cpython/issues/81057
2022-11-11 17:06:05 -07:00
..
build gh-81057: Add PyInterpreterState.static_objects (gh-99397) 2022-11-11 14:24:18 -07:00
buildbot
c-analyzer gh-81057: Move PyImport_Inittab to _PyRuntimeState (gh-99402) 2022-11-11 17:06:05 -07:00
cases_generator GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) 2022-11-09 10:50:09 -08:00
ccbench
clinic gh-92886: [clinic.py] raise exception on invalid input instead of assertion (GH-98051) 2022-10-07 14:41:35 -07:00
freeze gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
gdb GH-96421: Insert shim frame on entry to interpreter (GH-96319) 2022-11-10 12:34:57 +00:00
i18n gh-95731: Fix module docstring extraction in pygettext (#95732) 2022-10-15 07:57:53 -07:00
importbench
iobench
msi gh-98627: Add the _testsinglephase Module (gh-99039) 2022-11-08 09:58:11 -07:00
nuget
patchcheck gh-97669: Create Tools/patchcheck/ directory (#98186) 2022-10-12 10:09:21 +02:00
peg_generator gh-99300: Use Py_NewRef() in Parser/ directory (#99330) 2022-11-10 15:30:05 +01:00
scripts Support comparing two sets of pystats (GH-98816) 2022-11-04 10:15:54 +00:00
ssl Update github CI to use OpenSSL 1.1.1s and 3.0.7. (#99364) 2022-11-11 01:33:55 -08:00
stringbench
tz
unicode bpo-47243: Duplicate entry in 'Objects/unicodetype_db.h' (GH-32376) 2022-09-28 06:57:14 -07:00
unittestgui
wasm Fix typo in Tools/wasm/README.md (GH-99384) 2022-11-11 08:38:09 -08:00
README gh-97681: Remove Tools/demo/ directory (#97682) 2022-10-03 17:09:02 +02:00

README

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

buildbot        Batchfiles for running on Windows buildbot workers.

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

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.

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

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

parser          Un-parsing tool to generate code from an AST.

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

scripts         A number of useful single-file programs, e.g. tabnanny.py
                by Tim Peters, which checks for inconsistent mixing of
                tabs and spaces, and 2to3, which converts Python 2 code
                to Python 3 code.

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

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.


(*) 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