Python/C API Reference Manual
Previous:
Front Matter
Up:
Python/C API Reference Manual
Next:
1. Introduction
Contents
Front Matter
1. Introduction
1.1 Include Files
1.2 Objects, Types and Reference Counts
1.2.1 Reference Counts
1.2.2 Types
1.3 Exceptions
1.4 Embedding Python
2. The Very High Level Layer
3. Reference Counting
4. Exception Handling
4.1 Standard Exceptions
4.2 Deprecation of String Exceptions
5. Utilities
5.1 Operating System Utilities
5.2 Process Control
5.3 Importing Modules
5.4 Data marshalling support
5.5 Parsing arguments and building values
6. Abstract Objects Layer
6.1 Object Protocol
6.2 Number Protocol
6.3 Sequence Protocol
6.4 Mapping Protocol
6.5 Iterator Protocol
6.6 Buffer Protocol
7. Concrete Objects Layer
7.1 Fundamental Objects
7.1.1 Type Objects
7.1.2 The None Object
7.2 Numeric Objects
7.2.1 Plain Integer Objects
7.2.2 Long Integer Objects
7.2.3 Floating Point Objects
7.2.4 Complex Number Objects
7.3 Sequence Objects
7.3.1 String Objects
7.3.2 Unicode Objects
7.3.3 Buffer Objects
7.3.4 Tuple Objects
7.3.5 List Objects
7.4 Mapping Objects
7.4.1 Dictionary Objects
7.5 Other Objects
7.5.1 File Objects
7.5.2 Instance Objects
7.5.3 Method Objects
7.5.4 Module Objects
7.5.5 Iterator Objects
7.5.6 Descriptor Objects
7.5.7 Slice Objects
7.5.8 Weak Reference Objects
7.5.9 CObjects
7.5.10 Cell Objects
8. Initialization, Finalization, and Threads
8.1 Thread State and the Global Interpreter Lock
8.2 Profiling and Tracing
8.3 Advanced Debugger Support
9. Memory Management
9.1 Overview
9.2 Memory Interface
9.3 Examples
10. Defining New Object Types
10.1 Allocating Objects on the Heap
10.2 Common Object Structures
10.3 Mapping Object Structures
10.4 Number Object Structures
10.5 Sequence Object Structures
10.6 Buffer Object Structures
10.7 Supporting the Iterator Protocol
10.8 Supporting Cyclic Garbarge Collection
10.8.1 Example Cycle Collector Support
A. Reporting Bugs
B. History and License
B.1 History of the software
B.2 Terms and conditions for accessing or otherwise using Python
Index
About this document ...
Python/C API Reference Manual
Previous:
Front Matter
Up:
Python/C API Reference Manual
Next:
1. Introduction
Release 2.2.2, documentation updated on October 14, 2002.
See
About this document...
for information on suggesting changes.