R. David Murray <rdmur...@bitdance.com> added the comment: It's feature.
In python 3 you can use the 'nonlocal' keyword to access the variable in the outer scope for assignment. ---------- nosy: +r.david.murray priority: -> normal resolution: -> invalid stage: -> committed/rejected _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6782> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com