Issue1637
Created on 2010-07-26.15:12:11 by farzaneh, last changed 2010-07-26.16:06:27 by zyasoft.
msg5923 (view) |
Author: Farzaneh Sarafraz (farzaneh) |
Date: 2010-07-26.15:12:10 |
|
The following code compiles OK on CPython, but gives "SyntaxError: invalid syntax" on jython. The output of jython --version is
Jython 2.2.1 on java1.6.0_0
Code:
s = 'abc'
print "".join(i for i in s)
|
msg5924 (view) |
Author: Jim Baker (zyasoft) |
Date: 2010-07-26.16:06:26 |
|
Generator expressions are not supported as of Python 2.2/Jython 2.2. You need to use Jython 2.5.
|
|
Date |
User |
Action |
Args |
2010-07-26 16:06:27 | zyasoft | set | status: open -> closed resolution: invalid messages:
+ msg5924 nosy:
+ zyasoft title: Syntac error by jython where CPython works OK -> Syntax error by jython where CPython works OK |
2010-07-26 15:12:11 | farzaneh | create | |
|