Python 2 nonlocal Originally published: 2014-11-19 01:16:03 Last updated: 2015-09-08 01:27:04 Author: Ryan Gonzalez This implements nonlocal in Python 2...albeit in a slightly ugly way. Tested with CPython 2.7 and PyPy.