Message7216
$ jython2.5 -c 'import compiler'
$ jython2.7 -c 'import compiler'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/share/jython-2.7/Lib/compiler/__init__.py", line 31, in <module>
from compiler.pycodegen import compile, compileFile
File "/usr/share/jython-2.7/Lib/compiler/pycodegen.py", line 11, in <module>
from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL
ImportError: cannot import name SC_GLOBAL
$
Some changes from http://hg.python.org/cpython/rev/4809afa85a9b should be backported. |
|
Date |
User |
Action |
Args |
2012-06-14 03:08:54 | Arfrever | set | recipients:
+ Arfrever |
2012-06-14 03:08:53 | Arfrever | set | messageid: <1339643333.95.0.238126093467.issue1921@psf.upfronthosting.co.za> |
2012-06-14 03:08:53 | Arfrever | link | issue1921 messages |
2012-06-14 03:08:53 | Arfrever | create | |
|