Section 16.1. Introduction Section 16.2. Implementing a Simple Extension Type Section 16.3. Translating a Python Sequence into a C Array with the PySequence_Fast Protocol Section 16.4. Accessing a Python Sequence Item-by-Item with the Iterator Protocol Section 16.5. Returning None from a Python-Callable C Function Section 16.6. Coding the Methods of a Python Class in C Section 16.7. Implementing C Function Callbacks to a Python Function Section 16.8. Debugging Dynamically Loaded C Extensions with gdb Section 16.9. Debugging Memory Problems Section 16.10. Using SWIG-Generated Modules in a Multithreaded Environment |