11. ‘int’ object is not iterable — how is it checked in CPython?

Shahriyar Rzayev
CPython Internals
Published in
Nov 3, 2020

In this video we are going to explore BYTECODE(opcode) from ceval.c for simple question?

Why and how we see this ‘int’ ibject is not iterable error? How is it checked behind the scene?

If you can master the bytecode — you can easily learn what is your code doing internally.

Twitter:
https://twitter.com/ShahriyarRzayev

--

--

Shahriyar Rzayev
CPython Internals

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