top band

Friday 3:15 p.m.–4 p.m.

Super considered super!

Raymond Hettinger

Audience level:
Best Practices & Patterns


Python's super() is well-designed and powerful, but it can be tricky to use if you don't know all the moves. This talk offers clear, practical advice with real-world use cases on how to use super() effectively and not get tripped-up by common mistakes.


If you aren’t wowed by Python’s super() builtin, chances are you don’t really know what it is capable of doing or how to use it effectively. There has been a great deal of misunderstanding about super(). This talk seeks to improve on the situation by: - providing practical use cases - giving a clear mental model of how it works - showing the tradecraft for getting it to work every time - concrete advice for building classes that use super() - favoring real examples over abstract ABCD diamond diagrams.
bottom band background