dis.dis() is a real, everyday CPython debugging tool — engineers use it to check whether a comprehension got optimized or to understand why a hot loop is slow, and since Python 3.11 it also reveals the specializing adaptive interpreter's quickened opcodes like LOAD_FAST_LOAD_FAST introduced by PEP 659. Building a mini disassembler here is the same exercise as reading real CPython bytecode dumps line by line.