On Thu, Apr 15, 2010 at 23:33, Anand Chitipothu <anandology at gmail.com> wrote: > However, python3.0 added a new "nonlocal" construct to enable that. > With python 3, you should be able to say: So there are globals, locals, and nonlocals. :)