Issue2050
Created on 2013-05-13.13:29:17 by cleanAir, last changed 2014-05-04.20:13:58 by zyasoft.
msg8013 (view) |
Author: cleanAir (cleanAir) |
Date: 2013-05-13.13:29:17 |
|
The SyntaxError:
mismatched input 'as' expecting COLON
appears in line 319 of the lib file: "/usr/lib64/python2.7/ssl.py".
When its called by the in line 17 of the libcloud file: "/usr/lib/python2.7/site-packages/libcloud/common/base.py".
Result: Its impossible to use the libcloud.apache.org within the jython interpreter.
|
msg8020 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2013-05-17.23:27:26 |
|
There is no "except ... as" clause in Python until 2.6. (The "as" was a comma in 2.5.)
Jython comes with those Python libraries that have been tested to work, or it comes with a modified version that is supported. Of course, you're welcome to try unsupported Python libraries. The Python 2.7 ssl module has not been ported by us to Jython 2.7: a very small substitute is supplied.
|
msg8328 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-05-04.20:13:58 |
|
Fixed in 2.7
|
|
Date |
User |
Action |
Args |
2014-05-04 20:13:58 | zyasoft | set | status: open -> closed resolution: invalid messages:
+ msg8328 nosy:
+ zyasoft |
2013-05-17 23:27:27 | jeff.allen | set | nosy:
+ jeff.allen, amak messages:
+ msg8020 |
2013-05-17 22:56:19 | jeff.allen | link | issue2043 superseder |
2013-05-13 13:29:51 | cleanAir | set | type: crash |
2013-05-13 13:29:17 | cleanAir | create | |
|