导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 2.7.16 Documentation »

Python/C API 参考手册¶

本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 扩展和嵌入 Python 解释器 ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。

  • 概述
    • 包含文件
    • 对象、类型和引用计数
    • 异常
    • 嵌入Python
    • 调试构建
  • The Very High Level Layer
  • Reference Counting
  • 异常处理
    • Unicode Exception Objects
    • Recursion Control
    • 标准异常
    • 标准警告类别
    • String Exceptions
  • 工具
    • Operating System Utilities
    • System Functions
    • Process Control
    • 导入模块
    • Data marshalling support
    • 语句解释及变量编译
    • 字符串转换与格式化
    • 反射
    • 编解码器注册与支持功能
  • 抽象对象层
    • Object Protocol
    • 数字协议
    • Sequence Protocol
    • Mapping Protocol
    • 迭代器协议
    • Old Buffer Protocol
  • Concrete Objects Layer
    • 基本对象
    • Numeric Objects
    • 序列对象
    • Mapping Objects
    • 其他对象
  • Initialization, Finalization, and Threads
    • 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
  • 内存管理
    • 概述
    • Memory Interface
    • 对象分配器
    • The pymalloc allocator
    • 示例
  • 对象实现支持
    • 在堆中分配对象
    • Common Object Structures
    • Type 对象
    • Number Object Structures
    • Mapping Object Structures
    • Sequence Object Structures
    • Buffer Object Structures
    • 使对象类型支持循环垃圾回收

上一个主题

5. Embedding Python in Another Application

下一个主题

概述

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 2.7.16 Documentation »
© 版权所有 1990-2019, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。
Last updated on 4月 21, 2019. 发现了问题?
使用Sphinx1.8.4 创建。