{"items": [{"author": "markusgattol", "source_link": "http://www.reddit.com/r/Python/comments/g8kla#c1luom0", "anchor": "r-c1luom0", "service": "r", "text": "nonlocal would work here as well as it&#39;s just one level above the current scope.\n\n<br><br>More info on global vs nonlocal http://www.markus-gattol.name/ws/python.html#nonlocal_global\n", "timestamp": 1300825982}, {"author": "cbr", "source_link": "http://www.reddit.com/r/Python/comments/g8kla#c1m1xna", "anchor": "r-c1m1xna", "service": "r", "text": "&rarr;&nbsp;Is &#39;nonlocal&#39; new?\n", "timestamp": 1300932939}, {"author": "kourge", "source_link": "http://www.reddit.com/r/Python/comments/g8kla#c1mel3e", "anchor": "r-c1mel3e", "service": "r", "text": "&rarr;&nbsp;&rarr;&nbsp;nonlocal is supported since Python 3.\n", "timestamp": 1301128355}, {"author": "cbr", "source_link": "http://www.reddit.com/r/Python/comments/g8kla#c1mrlrw", "anchor": "r-c1mrlrw", "service": "r", "text": "&rarr;&nbsp;&rarr;&nbsp;&rarr;&nbsp;It&#39;s a good idea.\n", "timestamp": 1301354157}]}