[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2012-07-02 Thread Brett Cannon
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 ___

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2012-07-02 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: out of date - wont fix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2345 ___ ___

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2010-04-28 Thread Terry J. Reedy
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

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2009-08-05 Thread Alexandre Vassalotti
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

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2009-08-05 Thread Brett Cannon
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

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2008-05-10 Thread Bruno Gola
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

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2008-03-17 Thread Brett Cannon
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

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2008-03-17 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- priority: immediate - urgent __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2345 __ ___ Python-bugs-list mailing list