Introduction Recipe 17.1. Implementing a Simple Extension Type Recipe 17.2. Implementing a Simple Extension Type with Pyrex Recipe 17.3. Exposing a C++ Library to Python Recipe 17.4. Calling Functions from a Windows DLL Recipe 17.5. Using SWIG-Generated Modules in a Multithreaded Environment Recipe 17.6. Translating a Python Sequence into a C Array with the PySequence_Fast Protocol Recipe 17.7. Accessing a Python Sequence Item-by-Item with the Iterator Protocol Recipe 17.8. Returning None from a Python-Callable C Function Recipe 17.9. Debugging Dynamically Loaded C Extensions with gdb Recipe 17.10. Debugging Memory Problems |