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
- C API Stability
- The Very High Level Layer
- Reference Counting
- Exception Handling
- Utilities
- Operating System Utilities
- System Functions
- Process Control
- Importing Modules
- Data marshalling support
- Argumente auswerten und Werte bilden
- String conversion and formatting
- Character classification and conversion
- PyHash API
- Reflection
- Codec registry and support functions
- PyTime C API
- Support for Perf Maps
- Abstrakte Objekte Schicht
- Concrete Objects Layer
- 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
- Reference tracing
- Advanced Debugger Support
- Thread Local Storage Support
- Synchronization Primitives
- Operating System Thread APIs
- Python Initialization Configuration
- Memory Management
- Object Implementation Support
- API- und ABI-Versionierung
- Monitoring C API
- Generating Execution Events