[issue12064] unexpected behavior with exception variable
Eric Snow
report at bugs.python.org
Thu May 12 20:16:02 CEST 2011
Eric Snow <ericsnowcurrently at gmail.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue12064>
_______________________________________
More information about the Python-bugs-list
mailing list