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

Finding closure with closures

Description

Speaker: Thomas Ballinger

What are closures all about anyway, and why is there a new keyword in Python 3? We'll look at what a closure is, their history in the Python language, what the Python 3 nonlocal keyword is about, and examine how closures are idiomatically used (and avoided) in Python.

Slides can be found at: https://speakerdeck.com/pycon2016 and https://github.com/PyCon/2016-slides

Improve this page