GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cpython/InternalDocs at main · python/cpython

Expand file tree

/

InternalDocs

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

InternalDocs

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
images
images
 
 
README.md
README.md
 
 
asyncio.md
asyncio.md
 
 
changing_grammar.md
changing_grammar.md
 
 
code_objects.md
code_objects.md
 
 
compiler.md
compiler.md
 
 
exception_handling.md
exception_handling.md
 
 
frames.md
frames.md
 
 
garbage_collector.md
garbage_collector.md
 
 
generators.md
generators.md
 
 
inlined_comprehensions.md
inlined_comprehensions.md
 
 
interpreter.md
interpreter.md
 
 
jit.md
jit.md
 
 
parser.md
parser.md
 
 
profiling_binary_format.md
profiling_binary_format.md
 
 
qsbr.md
qsbr.md
 
 
stack_protection.md
stack_protection.md
 
 
stackrefs.md
stackrefs.md
 
 
string_interning.md
string_interning.md
 
 
structure.md
structure.md
 
 

README.md

Outline

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

  • Source Code Structure

Compiling Python Source Code

  • Guide to the parser

  • Compiler Design

  • Inlined comprehensions

  • Changing Python's Grammar

Runtime Objects

  • Code Objects

  • Generators

  • Frames

Program Execution

  • The Bytecode Interpreter

  • Stack references (_PyStackRef)

  • The JIT

  • Garbage Collector Design

  • Exception Handling

  • Quiescent-State Based Reclamation (QSBR)

  • Stack protection

Built-in Types

  • String Interning

  • List sort algorithm

Modules

  • asyncio
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.