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