Changes by Brett Cannon br...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2345
___
Changes by Brett Cannon br...@python.org:
--
resolution: out of date - wont fix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2345
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I am assuming that this is an unfixed bug that might still be fixed in 2.7
sometime and that it should not be closed yet, so I am just updating the
version.
--
nosy: +tjreedy
versions: +Python 2.7 -Python 2.6
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Brett, could you provide an example of an exception bound to a variable?
--
nosy: +alexandre.vassalotti
priority: critical - normal
stage: - test needed
___
Python tracker
Brett Cannon br...@python.org added the comment:
try:
raise Exception(I should not be seen)
except Exception, exc:
pass
print exc
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2345
Bruno Gola [EMAIL PROTECTED] added the comment:
see http://bugs.python.org/issue2380, I think that it's related.
the only reason i see for nested tuples to be valid syntax in an except
clause was:
x = ValueError
y = (TypeError, IndexError)
...
except (x, y):
...
and this will not be valid in
New submission from Brett Cannon [EMAIL PROTECTED]:
If one tries to use an exception bound to a variable in an 'except'
clause it should raise a Py3K warning.
--
components: Interpreter Core
keywords: 26backport
messages: 63708
nosy: brett.cannon
priority: immediate
severity: normal
Changes by Brett Cannon [EMAIL PROTECTED]:
--
priority: immediate - urgent
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2345
__
___
Python-bugs-list mailing list