Python/C API reference manual¶
Ten podręcznik dokumentuje API używany przez programistów C i C++, którzy chcą napisać rozszerzenie moduł lub osadzić Pythona. Jest to dodatek do Rozszerzony i wbudowany interpreter Python, który opisuje ogólne zasady pisania rozszerzeń, ale nie dokumentuje szczegółowo API .
- Wprowadzenie
- C API and ABI Stability
- The Very High Level Layer
- Reference Counting
- Obsługa sytuacji wyjątkowych
- Defining extension modules
- Utilitas
- Operating System Utilities
- System Functions
- Process Control
- Importing Modules
- Data marshalling support
- Pobieranie kolejnych rzeczy podanych na wejściu i konstruowanie wartości.
- String conversion and formatting
- Character classification and conversion
- PyHash API
- Reflection
- Codec registry and support functions
- PyTime C API
- Support for Perf Maps
- Warstwa obiektów abstrakcyjnych
- Concrete Objects Layer
- Interpreter initialization and finalization
- Thread states and the global interpreter lock
- Asynchronous notifications
- Operating system thread APIs
- Synchronization primitives
- Thread-local storage support
- Multiple interpreters in a Python process
- Profiling and tracing
- Reference tracing
- Python Initialization Configuration
- Zarządzanie Pamięcią
- Object Implementation Support
- API i wersjonowanie ABI
- Monitoring C API
- Generating Execution Events