Python/C API 参考手册¶
本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 Extending and Embedding the Python Interpreter ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。
- 概述
- Stable Application Binary Interface
- The Very High Level Layer
- Reference Counting
- Exception Handling
- 工具
- 抽象对象层
- 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
- Advanced Debugger Support
- Thread Local Storage Support
- Memory Management
- 对象实现支持
- API 和 ABI 版本管理