Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

All Singing All Dancing Python Bytecode

EuroPython Conference via YouTube

Overview

Explore the intricacies of Python bytecode in this 51-minute conference talk from EuroPython 2013. Dive into the world of opcodes, stack machines, and variable types as the speaker unravels the complexities of Python's internal workings. Learn about function defaults, line numbers, and how classes function as callables. Discover the differences between readable and hand-coded bytecode, and compare the Maynard and gunk approaches to class disassembly. Gain insights into building a simple virtual machine and access valuable resources for further exploration of Python bytecode.

Syllabus

Introduction
What is Bytecode?
Opcodes and HAVE_ARGUMENT
Stack Machine Part 1
Bytecode Variable Types
Data And Metadata, Part 1
Function Defaults
Line Numbers
Classes Are Callables, Part 2
Readable & Hand-Coded, Part 2
Maynard vs. gunk
Class Disassembly With Maynard
The Simplest Possible VM, Part 2
Resources

Taught by

EuroPython Conference

Reviews

Start your review of All Singing All Dancing Python Bytecode

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.