Context

In July 2011, extending Python with C code was a common technique to improve performance of critical parts of an application. Python's C API allowed creating native modules integrated directly into the interpreter.

What is this article about?

The article explains how to write extensions for Python using the C API. It covers module creation, handling Python types from C, reference counting, and best practices for producing robust extensions.

Summary

Writing extensions for Python

Read the article

Read the article on connect.ed-diamond.com