Python/C API Reference Manual
*****************************

Dieses Handbuch dokumentiert die API, die von C- und
C++-Programmierern verwendet wird, die Erweiterungsmodule schreiben
oder Python einbinden möchten. Es ist eine Ergänzung zu Extending and
Embedding the Python Interpreter, das die allgemeinen Grundsätze zum
Erstellen von Erweiterungen beschreibt, die API-Funktionen jedoch
nicht im Detail dokumentiert.

* Einführung

  * Coding standards

  * Include Files

  * Useful macros

  * Objects, Types and Reference Counts

  * Ausnahmen

  * Embedding Python

  * Debugging Builds

* C API Stability

  * Unstable C API

  * Stable Application Binary Interface

  * Platform Considerations

  * Contents of Limited API

* The Very High Level Layer

* Reference Counting

* Exception Handling

  * Printing and clearing

  * Raising exceptions

  * Issuing warnings

  * Querying the error indicator

  * Signal Handling

  * Exception Classes

  * Exception Objects

  * Unicode Exception Objects

  * Recursion Control

  * Standard Exceptions

  * Standard Warning Categories

* Utilities

  * Operating System Utilities

  * System Functions

  * Process Control

  * Importing Modules

  * Data marshalling support

  * Argumente auswerten und Werte bilden

  * String conversion and formatting

  * PyHash API

  * Reflection

  * Codec registry and support functions

  * Support for Perf Maps

* Abstrakte Objekte Schicht

  * Object Protocol

  * Call Protocol

  * Number Protocol

  * Sequence Protocol

  * Mapping Protocol

  * Iterator Protocol

  * Buffer-Protokoll

  * Old Buffer Protocol

* Concrete Objects Layer

  * Fundamental Objects

  * Numeric Objects

  * Sequence Objects

  * Container Objects

  * Function Objects

  * Other Objects

* Initialization, Finalization, and Threads

  * Before Python Initialization

  * Global configuration variables

  * Initializing and finalizing the interpreter

  * Process-wide parameters

  * Thread State and the Global Interpreter Lock

  * Sub-interpreter support

  * Asynchronous Notifications

  * Profiling and Tracing

  * Advanced Debugger Support

  * Thread Local Storage Support

* Python Initialization Configuration

  * Example

  * PyWideStringList

  * PyStatus

  * PyPreConfig

  * Preinitialize Python with PyPreConfig

  * PyConfig

  * Initialization with PyConfig

  * Isolated Configuration

  * Python Configuration

  * Python Path Configuration

  * Py_RunMain()

  * Py_GetArgcArgv()

  * Multi-Phase Initialization Private Provisional API

* Memory Management

  * Overview

  * Allocator Domains

  * Raw Memory Interface

  * Memory Interface

  * Object allocators

  * Default Memory Allocators

  * Customize Memory Allocators

  * Debug hooks on the Python memory allocators

  * The pymalloc allocator

  * tracemalloc C API

  * Examples

* Object Implementation Support

  * Allocating Objects on the Heap

  * Common Object Structures

  * Type Object Structures

  * Supporting Cyclic Garbage Collection

* API- und ABI-Versionierung
