cpython/InternalDocs
2026-04-13 11:45:41 +02:00
..
images
asyncio.md fix some typos (#138977) 2025-09-16 18:33:39 +05:30
changing_grammar.md
code_objects.md
compiler.md gh-138081: fix some dead links in InternalDocs (#138082) 2025-09-11 10:54:16 +02:00
exception_handling.md
frames.md gh-138122: Don't sample partial frame chains (#141912) 2025-12-07 15:53:48 +00:00
garbage_collector.md gh-144969: Document that the free threading GC can change ob_tid (#144972) 2026-02-19 01:49:09 +01:00
generators.md gh-138081: fix some dead links in InternalDocs (#138082) 2025-09-11 10:54:16 +02:00
interpreter.md GH-139922: add interpreter types to InternalDocs/interpreter.md (GH-148035) 2026-04-05 23:25:14 +08:00
jit.md gh-139109: Document the trace recording interpreter in internaldocs (GH-146110) 2026-03-31 23:25:54 +08:00
parser.md
profiling_binary_format.md gh-138122: Extend binary profiling format with full source location and opcode (#143088) 2025-12-24 16:15:11 +00:00
qsbr.md
README.md Move doc on structure from devguide to InternalDocs (GH-142237) 2025-12-15 15:19:02 +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
stackrefs.md gh-142472: Clean-up _PyStackRef functions (gh-142479) 2025-12-15 12:03:49 -05:00
string_interning.md InternalDocs: Correct struct path for latin1 singletons in string_interning.md (GH-148358) 2026-04-13 11:45:41 +02:00
structure.md Move doc on structure from devguide to InternalDocs (GH-142237) 2025-12-15 15:19:02 +01: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.

General Resources

Compiling Python Source Code

Runtime Objects

Program Execution

Built-in Types

Modules