Eric Snow <[email protected]> added the comment:

Duplicate of issue8130.

"When an exception has been assigned using as target, it is cleared at the end 
of the except clause." [1]

See: 
[1] http://docs.python.org/py3k/reference/compound_stmts.html#the-try-statement
[2] http://www.python.org/dev/peps/pep-3110/#semantic-changes (discussed in 
issue4617)

----------
nosy: +ericsnow

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12064>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to