Let's review "scope" in Python

Hosted By
Andrew K.

Details
Python supports locals and globals like most languages. It also supports closures and pausing execution (via generators).
We'll review the frame object and how the rules for scope fall out of the implementation of locals and globals in that context. We'll play around with some tricks and see good workarounds to avoid hoisting variables.
In this meetup we'll review Python's frameobject module and see how the rules for scope relate to it's implementation.
We'll have pizza and beer as usual, and a few beers nearby afterwards.

Deep Dive into Python: Know Thy Interpreter
See more events
Buzzfeed
111 E 18th Street · New York, NY
Let's review "scope" in Python