Senthil Kumaran <senthil at uthcode.com> added the comment: Éric - not really. nonlocal is from python3.x onwards only. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue14217> _______________________________________