Video not available

Send us an email to

Using and abusing Python's double-underscore methods and attributes

0 0

In this talk, we’ll explore the weird and wonderful world of the double-underscore, and find out how dunders can be useful, silly, dangerous, and just fun! We’ll play pranks on Python’s builtin operators for arithmetic and comparison. We’ll make arbitrary objects behave like dictionaries and containers. We’ll reduce an object’s memory usage, and speed up tests for membership. We’ll even try some naughty function hacks that we should never use in real life!

EuroPython 2016

Welcome to EuroPython 2016 – the largest Python conference in Europe.