Georg Brandl <ge...@python.org> added the comment: This is not a question of "correct" behavior, but of documented semantics. We can't change that semantics in 2.x, like we did for 3.x, because many people rely on the exception variable being available after the except clause finishes.
Closing as "won't fix." ---------- nosy: +georg.brandl resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com