Message9230
The "as" keyword is not accepted in a try ... except construct. This should be available from Python 2.6.
>>> try:
... f = open("x.tmp")
... except IOError as ex:
File "<stdin>", line 3
except IOError as ex:
^
SyntaxError: mismatched input '<EOF>' expecting INDENT
A comma is acceptable to Jython for the same purpose.
Possibly an easy grammar fix since the code generation does not have to change. A test is clearly missing. |
|
Date |
User |
Action |
Args |
2014-12-13 09:54:06 | jeff.allen | set | recipients:
+ jeff.allen |
2014-12-13 09:54:05 | jeff.allen | set | messageid: <1418464445.94.0.596166729452.issue2236@psf.upfronthosting.co.za> |
2014-12-13 09:54:05 | jeff.allen | link | issue2236 messages |
2014-12-13 09:54:05 | jeff.allen | create | |
|