Contribute Media
A thank you to everyone who makes this possible: Read More

When the abyss gazes back: staring down Python's surprising internals

Translations: en


Python's fantastic until it isn't. This talk dives into some of the surprising implementation details of CPython, then explains exactly how they could be discovered from first principles.

Attendees will leave with some dangerous Python trivia, and the tools they'll need to uncovery their own trivia when surprises strike.

The talk takes a deep dive into a StackOverflow question asking why "x" in ("x", ) is faster than "x" == "x" (, including a discussion of dis.disassemble, the Pyhton stack machine, and reading the CPython source. If time permits, there will be other fun examples, a whirlwind tour of debugging, and a couple of homework assignments.


Improve this page