Python/C API reference manual¶
Bu kılavuz, genişletme modülleri yazmak veya Python’u gömmek isteyen C ve C++ programcıları tarafından kullanılan API’yi belgelemektedir. Uzantı yazmanın genel ilkelerini açıklayan ancak API işlevlerini ayrıntılı olarak belgelemeyen Python Yorumlayıcısını Genişletme ve Gömme’in tamamlayıcısıdır.
- Introduction
- C API Stability
- The Very High Level Layer
- Reference Counting
- Exception Handling
- Defining extension modules
- Utilities
- Operating System Utilities
- System Functions
- Process Control
- Importing Modules
- Data marshalling support
- Parsing arguments and building values
- String conversion and formatting
- Character classification and conversion
- PyHash API
- Reflection
- Codec registry and support functions
- PyTime C API
- Support for Perf Maps
- Abstract Objects Layer
- 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
- Memory Management
- Object Implementation Support
- API and ABI Versioning
- Monitoring C API
- Generating Execution Events