Language Reference

This section covers Python language features, design patterns, standard library modules, and internal details like the AST and time complexity of built-in operations. It is a mix of explanations, proposals, and discussions – some of it historical, some still useful as reference. If you want to understand how a particular feature works under the hood, or why Python made the design choices it did, look here.

Core Language Features

AST and Internals

  • AST – overview of Python’s Abstract Syntax Tree for source analysis

  • AST-Based Optimization – performing peephole optimizations at the AST level instead of bytecode

  • Byteplay Documentation – docs for the byteplay bytecode manipulation library

Patterns and Design

Configuration Parsing

Path Handling

Data and Text

Concurrency

  • Concurrency – collected resources on concurrent programming in Python

  • Concurrency – overview of concurrency approaches and threading

Performance Reference