Overview
Explore the inner workings of Python's C API in this 30-minute EuroPython Conference talk. Dive into the fundamentals of creating Python bindings for native C libraries through a practical example. Learn how to make C libraries callable from Python and vice versa while gaining insights into essential Python features such as reference counting, memory management, and the internal structure of objects and modules. Discover the complexities behind Python's elegant syntax by examining its C program foundation. Follow along as the speaker guides you through the process of bridging C and Python, uncovering the mechanisms that power this popular programming language. Gain a deeper understanding of Python's architecture, from its object system to memory handling, and explore potential issues like memory leaks. Perfect for curious Python developers looking to peek under the hood and expand their knowledge of the language's core implementation.
Syllabus
Intro
Overview
The C API
Reference Counting
Python Objects
Memory Leak
Taught by
EuroPython Conference