Python/C API reference manual¶
對於想要編寫擴充模組或是嵌入 Python 的 C 和 C++ 程式設計師們,這份手冊記錄了可使用的 API(應用程式介面)。在擴充和嵌入 Python 直譯器中也有相關的內容,它描述了編寫擴充的一般原則,但並沒有詳細說明 API 函式。
- 簡介
- C API 穩定性
- The Very High Level Layer
- 參照計數
- 例外處理
- Defining extension modules
- 工具
- 抽象物件層 (Abstract 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 初始化設定
- 記憶體管理
- 物件實作支援
- API 和 ABI 版本管理
- 監控 C API
- Generating Execution Events