Uploaded December 2017 | Updated September 2026, 1 week ago
Completely ignoring how Python is implemented can get you into some nasty bugs. Having a basic mental model will protect you, and it doesn’t require reading CPython source code! I’ll show you a fun way to dissect common Python types down to the level of bytes, using the ctypes library and the REPL.
Completely ignoring how Python is implemented can get you into some nasty bugs. Having a basic mental model will protect you, and it doesn’t require reading CPython source code! I’ll show you a fun way to dissect common Python types down to the level of bytes, using the ctypes library and the REPL.