Skip to content

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.

Related topics

You may also like