Mark Dickinson <dicki...@gmail.com> added the comment: Judging by the issue 991196 discussion, the described behaviour is intentional. In particular, this behaviour isn't likely to change in Python 2.x: 2.6 is in bugfix only mode, and 2.7 is too close to release to start messing with internals.
You may be able to make an argument that the behaviour should be changed in Python 3.x; that discussion should happen on python-dev or python-ideas rather than on the tracker, though. ---------- resolution: -> duplicate status: open -> closed superseder: -> An inconsistency with nested scopes _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8819> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com