What Happens If You Hack Python? Exploring CPython by Adding a fore Loop

General Python, Web/DevOps Tutorial - 2 hours Beginner Level

Abstract

In this tutorial, we will explore how CPython and the engine behind Python works by adding our own keyword called fore. Along the way, you will learn how Python turns code into something the computer can execute from parsing and syntax trees to bytecode generation. We will modify CPython’s source code, rebuild Python, and see our custom keyword in action. No compiler knowledge is required, just curiosity about what happens behind the scenes when Python runs your code.

Speaker

Gerhardt Datsomor
Gerhardt

Machine Learning Engineer

View Profile →