2. Sum up two integers using Python/C API

Shahriyar Rzayev
CPython Internals
Published in
Oct 22, 2020

In this video, we are going to explore how to use debugger(GDB) and our very own Python 3.9 version to sum 2 integers and then print it to console using internal Python/C API.

We will learn:
* How to start Python interpreter within debugger?
* Explore various integer type methods and how to call them directly from debugger?
* How to sum 2 integers and understand what is actually happens internally.

--

--

Shahriyar Rzayev
CPython Internals

Azerbaijan Python User Group lead — True Pythonista. Open Source enthusiast.