cpython/InternalDocs
Pablo Galindo Salgado d6d850df89
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / iOS (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
Tail calling interpreter / aarch64-apple-darwin/clang (push) Waiting to run
Tail calling interpreter / aarch64-unknown-linux-gnu/gcc (push) Waiting to run
Tail calling interpreter / x86_64-pc-windows-msvc/msvc (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
Tail calling interpreter / x86_64-apple-darwin/clang (push) Waiting to run
Tail calling interpreter / free-threading (push) Waiting to run
Tail calling interpreter / x86_64-unknown-linux-gnu/gcc (push) Waiting to run
gh-138122: Don't sample partial frame chains (#141912)
2025-12-07 15:53:48 +00:00
..
images gh-119786: Move garbage collection doc from devguide to InternalDocs (#125282) 2024-10-11 21:18:37 +01:00
asyncio.md fix some typos (#138977) 2025-09-16 18:33:39 +05:30
changing_grammar.md gh-119786: cleanup internal docs and fix internal links (#127485) 2024-12-01 17:12:22 +00:00
code_objects.md gh-119786: Add jit.md. Move adaptive.md to a section of interpreter.md. (#127175) 2024-12-06 16:36:06 +00:00
compiler.md gh-138081: fix some dead links in InternalDocs (#138082) 2025-09-11 10:54:16 +02:00
exception_handling.md Improve format of InternalDocs/exception_handling.md (#134969) 2025-05-31 14:56:33 +03:00
frames.md gh-138122: Don't sample partial frame chains (#141912) 2025-12-07 15:53:48 +00:00
garbage_collector.md GH-135552: Make the GC clear weakrefs later (GH-136189) 2025-08-07 16:32:17 -07:00
generators.md gh-138081: fix some dead links in InternalDocs (#138082) 2025-09-11 10:54:16 +02:00
interpreter.md gh-119786: add JUMP_BACKWARD macro to the Jumps section (#131213) 2025-03-16 20:04:39 +00:00
jit.md gh-137959: Fix TIER1_TO_TIER2 macro name in JIT InternalDocs (GH-141496) 2025-11-13 14:44:40 +00:00
parser.md Fix some typos in various doc files (GH-132589) 2025-04-16 18:11:47 +00:00
qsbr.md gh-119786: Add InternalDocs/qsbr.md. (gh-135411) 2025-06-23 22:09:40 +00:00
README.md Add internal doc describing the stack protection mechanism (GH137663) 2025-08-13 19:04:25 +01:00
stack_protection.md GH-139653: Only raise an exception (or fatal error) when the stack pointer is about to overflow the stack. (GH-141711) 2025-11-19 10:16:24 +00:00
string_interning.md gh-119786: cleanup internal docs and fix internal links (#127485) 2024-12-01 17:12:22 +00:00

CPython Internals Documentation

The documentation in this folder is intended for CPython maintainers. It describes implementation details of CPython, which should not be assumed to be part of the Python language specification. These details can change between any two CPython versions and should not be assumed to hold for other implementations of the Python language.

The core dev team attempts to keep this documentation up to date. If it is not, please report that through the issue tracker.

Compiling Python Source Code

Runtime Objects

Program Execution

Modules