PyCon APAC 2023

Internals of Generators
2023-10-28 , track 5

Generators in Python can be found in many kinds of projects and applications. But how do they work exactly and how are they implemented?


In this talk, we will try to better understand generators in Python. We'll start from the beginning with iterators and make our way up to generators and how they're being used in applications today. To further cement our understanding, we'll look at how generators are implemented in Python's most popular reference implementation, CPython.